Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13687

ConfiguredFailoverProxyProvider could direct requests to SBN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. HDFS-13687.000.patch
          5 kB
          Chao Sun

        Issue Links

          Activity

            People

              csun Chao Sun
              csun Chao Sun
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: