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

Disallow self failover

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ha
    • None
    • Reviewed

    Description

      It is currently possible for users to make a standby NameNode failover to itself and become active. We shouldn't allow this to happen in case operators mistype and miss the fact that there are now two active NNs.

      bash-4.1$ hdfs haadmin -ns ha-nn-uri -failover nn2 nn2
      Failover from nn2 to nn2 successful
      

      After the failover above, nn2 will be active.

      Attachments

        1. hadoop-8208.txt
          4 kB
          Eli Collins

        Activity

          People

            eli Eli Collins
            eli2 Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: