Eli Collins created HDFS-3713: --------------------------------- Summary: Disallow self-failover when auto failover is enabled Key: HDFS-3713 URL: https://issues.apache.org/jira/browse/HDFS-3713 Project: Hadoop HDFS Issue Type: Bug Components: auto-failover Affects Versions: 2.0.0-alpha Reporter: Eli Collins Priority: Minor
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. {noformat} 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$ {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira