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

Disallow self-failover when auto failover is enabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: auto-failover
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: