[ 
https://issues.apache.org/jira/browse/HADOOP-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241336#comment-13241336
 ] 

Hudson commented on HADOOP-8208:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1948 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1948/])
    HADOOP-8208. Disallow self failover. Contributed by Eli Collins (Revision 
1306935)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1306935
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/FailoverController.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestFailoverController.java

                
> 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
>
>
> 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