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: [email protected]
For additional commands, e-mail: [email protected]