Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3713

Disallow self-failover when auto failover is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.0.0-alpha
    • None
    • auto-failover
    • None

    Description

      When auto failover is enabled, the user can manually failover from a nameservice to itself. When auto failover is disabled, there is a check that prevents failover from a nameservice to itself, we should have the same check for auto failover.

      bash-4.1$ hdfs haadmin -failover nn1 nn1
      Failover to NameNode at brut01.sf.cloudera.com/172.22.35.149:17020 successful
      bash-4.1$ hdfs haadmin -failover nn1 nn1
      Failover to NameNode at brut01.sf.cloudera.com/172.22.35.149:17020 successful
      bash-4.1$
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: