Package org.apache.hadoop.thriftfs

Examples of org.apache.hadoop.thriftfs.ThriftPluginServer


        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());
View Full Code Here

TOP

Related Classes of org.apache.hadoop.thriftfs.ThriftPluginServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.