Íñigo Goiri commented on HDFS-13274:

As commented in HADOOP-13144, we would be able to create connections using:
    FederationConnectionId connectionId = new FederationConnectionId(
        socket, ClientNamenodeProtocolPB.class, ugi, timeout, defaultPolicy,
        conf, index);
    ClientNamenodeProtocolPB proxy = RPC.getProtocolProxy(
        ClientNamenodeProtocolPB.class, version, connectionId, conf, factory)
    ClientProtocol client = new ClientNamenodeProtocolTranslatorPB(proxy);

    ProxyAndInfo<ClientProtocol> clientProxy =
        new ProxyAndInfo<ClientProtocol>(client, dtService, socket);

> RBF: Extend RouterRpcClient to use multiple sockets
> ---------------------------------------------------
>                 Key: HDFS-13274
>                 URL: https://issues.apache.org/jira/browse/HDFS-13274
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Íñigo Goiri
>            Priority: Major
> HADOOP-13144 introduces the ability to create multiple connections for the 
> same user and use different sockets. The RouterRpcClient should use this 
> approach to get a better throughput.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to