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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-12943, 3.3.0
    • hdfs-client
    • None
    • 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.000.patch
          34 kB
          Erik Krogen
        2. HDFS-13779-HDFS-12943.001.patch
          38 kB
          Erik Krogen
        3. HDFS-13779-HDFS-12943.002.patch
          33 kB
          Erik Krogen
        4. HDFS-13779-HDFS-12943.003.patch
          34 kB
          Erik Krogen
        5. HDFS-13779-HDFS-12943.WIP00.patch
          18 kB
          Erik Krogen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: