[jira] [Updated] (HDFS-13687) ConfiguredFailoverProxyProvider could direct requests to SBN
[ https://issues.apache.org/jira/browse/HDFS-13687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chao Sun updated HDFS-13687: Status: Patch Available (was: Open) > 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 >Priority: Minor > Attachments: HDFS-13687.000.patch > > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13687) ConfiguredFailoverProxyProvider could direct requests to SBN
[ https://issues.apache.org/jira/browse/HDFS-13687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chao Sun updated HDFS-13687: Attachment: HDFS-13687.000.patch > 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 >Priority: Minor > Attachments: HDFS-13687.000.patch > > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org