LOG.info("Starting ThriftJobTrackerPlugin");
this.jobTracker = (JobTracker)service;
try {
InetSocketAddress address = NetUtils.createSocketAddr(
conf.get(THRIFT_ADDRESS_PROPERTY, DEFAULT_THRIFT_ADDRESS));
this.thriftServer = new ThriftPluginServer(address, new ProcessorFactory(), conf);
thriftServer.setConf(conf);
thriftServer.start();
// The port may have been 0, so we update it.
conf.set(THRIFT_ADDRESS_PROPERTY, address.getHostName() + ":" +
thriftServer.getPort());