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

Allow manual failover between standby and observer

    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: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Currently if automatic failover is enabled in a HA environment, transition from standby to observer would be blocked:

      [hdfs@*** hadoop-3.3.0-SNAPSHOT]$ bin/hdfs haadmin -transitionToObserver ha2
      Automatic failover is enabled for NameNode at ****
      Refusing to manually manage HA state, since it may cause
      a split-brain scenario or other incorrect state.
      If you are very sure you know what you are doing, please
      specify the --forcemanual flag.
      

      We should allow manual transition between standby and observer in this case.

        Attachments

        1. HDFS-14067-HDFS-12943.001.patch
          3 kB
          Chao Sun
        2. HDFS-14067-HDFS-12943.000.patch
          7 kB
          Chao Sun

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: