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 "Chao Sun (JIRA)" <ji...@apache.org> on 2018/06/15 18:50:00 UTC

[jira] [Created] (HDFS-13687) ConfiguredFailoverProxyProvider could direct requests to SBN

Chao Sun created HDFS-13687:
-------------------------------

             Summary: ConfiguredFailoverProxyProvider could direct requests to SBN
                 Key: HDFS-13687
                 URL: https://issues.apache.org/jira/browse/HDFS-13687
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Chao Sun
            Assignee: Chao Sun


In case there are multiple SBNs, and {{dfs.ha.allow.stale.reads}} is set to true, failover could go to a SBN which then may serve read requests from client. This may not be the expected behavior. This issue arises when we are working on HDFS-12943 and HDFS-12976.

A better approach for this could be to check {{HAServiceState}} and find out the active NN when performing failover. This also can reduce the # of failovers the client has to do in case of multiple SBNs.



--
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