Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8247

Auto-HA: add a config to enable auto-HA, which disables manual FC

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Auto Failover (HDFS-3042)
    • Fix Version/s: Auto Failover (HDFS-3042)
    • Component/s: auto-failover, ha
    • Labels:
      None

      Description

      Currently, if automatic failover is set up and running, and the user uses the "haadmin -failover" command, he or she can end up putting the system in an inconsistent state, where the state in ZK disagrees with the actual state of the world. To fix this, we should add a config flag which is used to enable auto-HA. When this flag is set, we should disallow use of the haadmin command to initiate failovers. We should refuse to run ZKFCs when the flag is not set. Of course, this flag should be scoped by nameservice.

        Attachments

        1. hadoop-8247.txt
          69 kB
          Todd Lipcon
        2. hadoop-8247.txt
          76 kB
          Todd Lipcon
        3. hadoop-8247.txt
          71 kB
          Todd Lipcon
        4. hadoop-8247.txt
          71 kB
          Todd Lipcon
        5. hadoop-8247.txt
          71 kB
          Todd Lipcon
        6. hadoop-8247.txt
          67 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: