Package org.apache.hadoop.ipc.protocolPB

Examples of org.apache.hadoop.ipc.protocolPB.GenericRefreshProtocolPB


    Class<?> xface = GenericRefreshProtocolPB.class;
    InetSocketAddress address = NetUtils.createSocketAddr(hostport);
    UserGroupInformation ugi = UserGroupInformation.getCurrentUser();

    RPC.setProtocolEngine(conf, xface, ProtobufRpcEngine.class);
    GenericRefreshProtocolPB proxy = (GenericRefreshProtocolPB)
      RPC.getProxy(xface, RPC.getProtocolVersion(xface), address,
        ugi, conf, NetUtils.getDefaultSocketFactory(conf), 0);

    GenericRefreshProtocol xlator =
      new GenericRefreshProtocolClientSideTranslatorPB(proxy);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.ipc.protocolPB.GenericRefreshProtocolPB

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.