[
https://issues.apache.org/jira/browse/HADOOP-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HADOOP-8208:
--------------------------------
Attachment: hadoop-8208.txt
Updated patch rebased on trunk.
> Disallow self failover
> ----------------------
>
> Key: HADOOP-8208
> URL: https://issues.apache.org/jira/browse/HADOOP-8208
> Project: Hadoop Common
> Issue Type: Bug
> Components: ha
> Reporter: Eli Collins
> Assignee: Eli Collins
> Attachments: hadoop-8208.txt, hdfs-3145.txt
>
>
> 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.
> {noformat}
> bash-4.1$ hdfs haadmin -ns ha-nn-uri -failover nn2 nn2
> Failover from nn2 to nn2 successful
> {noformat}
> After the failover above, nn2 will be active.
--
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