new NettyMasterServer(getConfiguration(), this, getContext(),
getGraphTaskManager().createUncaughtExceptionHandler());
masterInfo.setInetSocketAddress(masterServer.getMyAddress());
masterInfo.setTaskId(getTaskPartition());
masterClient =
new NettyMasterClient(getContext(), getConfiguration(), this,
getGraphTaskManager().createUncaughtExceptionHandler());
if (LOG.isInfoEnabled()) {
LOG.info("becomeMaster: I am now the master!");
}