Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12943 Consistent Reads from Standby Node
  3. HDFS-13779

Implement performFailover logic for ObserverReadProxyProvider.

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HDFS-12943, 3.3.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Currently ObserverReadProxyProvider inherits performFailover() method from ConfiguredFailoverProxyProvider, which simply increments the index and switches over to another NameNode. The logic for ORPP should be smart enough to choose another observer, otherwise it can switch to a SBN, where reads are disallowed, or to an ANN, which defeats the purpose of reads from standby.
      This was discussed in HDFS-12976.

        Attachments

        1. HDFS-13779-HDFS-12943.003.patch
          34 kB
          Erik Krogen
        2. HDFS-13779-HDFS-12943.002.patch
          33 kB
          Erik Krogen
        3. HDFS-13779-HDFS-12943.001.patch
          38 kB
          Erik Krogen
        4. HDFS-13779-HDFS-12943.000.patch
          34 kB
          Erik Krogen
        5. HDFS-13779-HDFS-12943.WIP00.patch
          18 kB
          Erik Krogen

          Issue Links

            Activity

              People

              • Assignee:
                xkrogen Erik Krogen
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: