code: private void setIdAndRegister() throws IOException {
      mMasterId.set(mMasterClient.getId(mMasterAddress));
      mMasterClient.register(mMasterId.get(),
          ConfigurationUtils.getConfiguration(ServerConfiguration.global(), Scope.MASTER));
    }
docs: Sets the master id and registers with the Alluxio leader master.