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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Auto Failover (HDFS-3042)
    • Auto Failover (HDFS-3042)
    • auto-failover, ha
    • 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
          67 kB
          Todd Lipcon
        2. hadoop-8247.txt
          71 kB
          Todd Lipcon
        3. hadoop-8247.txt
          71 kB
          Todd Lipcon
        4. hadoop-8247.txt
          71 kB
          Todd Lipcon
        5. hadoop-8247.txt
          76 kB
          Todd Lipcon
        6. hadoop-8247.txt
          69 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: