Disallow self failover
----------------------

                 Key: HDFS-3145
                 URL: https://issues.apache.org/jira/browse/HDFS-3145
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: ha
            Reporter: Eli Collins
            Assignee: Eli Collins


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

        

Reply via email to