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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-12943, 3.3.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: