Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49AB4906B for ; Sun, 25 Mar 2012 19:33:48 +0000 (UTC) Received: (qmail 9439 invoked by uid 500); 25 Mar 2012 19:33:48 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 9404 invoked by uid 500); 25 Mar 2012 19:33:48 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 9396 invoked by uid 99); 25 Mar 2012 19:33:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2012 19:33:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2012 19:33:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F322334619F for ; Sun, 25 Mar 2012 19:33:26 +0000 (UTC) Date: Sun, 25 Mar 2012 19:33:26 +0000 (UTC) From: "Hadoop QA (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1211978411.15123.1332704007010.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8208) Disallow self failover MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237953#comment-13237953 ] Hadoop QA commented on HADOOP-8208: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12519870/hdfs-3145.txt against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/776//console This message is automatically generated. > 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: 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