You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chen Liang (JIRA)" <ji...@apache.org> on 2018/10/22 20:00:00 UTC

[jira] [Created] (HDFS-14017) ObserverReadProxyProviderWithIPFailover does not quite work

Chen Liang created HDFS-14017:
---------------------------------

             Summary: ObserverReadProxyProviderWithIPFailover does not quite work
                 Key: HDFS-14017
                 URL: https://issues.apache.org/jira/browse/HDFS-14017
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Chen Liang
            Assignee: Chen Liang


Currently {{ObserverReadProxyProviderWithIPFailover}} extends {{ObserverReadProxyProvider}}, and the only difference is changing the proxy factory to use {{IPFailoverProxyProvider}}. However this is not enough because when calling constructor of {{ObserverReadProxyProvider}} in super(...), the follow line:
{code}
nameNodeProxies = getProxyAddresses(uri,
        HdfsClientConfigKeys.DFS_NAMENODE_RPC_ADDRESS_KEY);
{code}
will try to resolve the all configured NN addresses to do configured failover. But in the case of IPFailover, this does not really apply. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org