Hadoop Common
  1. Hadoop Common
  2. HADOOP-8247

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

      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

        Todd Lipcon created issue -
        Todd Lipcon made changes -
        Field Original Value New Value
        Attachment hadoop-8247.txt [ 12521641 ]
        Todd Lipcon made changes -
        Attachment hadoop-8247.txt [ 12521918 ]
        Todd Lipcon made changes -
        Attachment hadoop-8247.txt [ 12522034 ]
        Todd Lipcon made changes -
        Attachment hadoop-8247.txt [ 12522036 ]
        Todd Lipcon made changes -
        Attachment hadoop-8247.txt [ 12522181 ]
        Todd Lipcon made changes -
        Attachment hadoop-8247.txt [ 12522209 ]
        Todd Lipcon made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s Auto Failover (HDFS-3042) [ 12320350 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development