Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 A2177982D for ; Sun, 25 Mar 2012 18:45:48 +0000 (UTC) Received: (qmail 9522 invoked by uid 500); 25 Mar 2012 18:45:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 9484 invoked by uid 500); 25 Mar 2012 18:45:48 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 9474 invoked by uid 99); 25 Mar 2012 18:45: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 18:45: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 18:45: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 43B3D34507F for ; Sun, 25 Mar 2012 18:45:27 +0000 (UTC) Date: Sun, 25 Mar 2012 18:45:27 +0000 (UTC) From: "Aaron T. Myers (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <589981194.15058.1332701127296.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1156069174.15047.1332700648680.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-3145) 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/HDFS-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers updated HDFS-3145: --------------------------------- Affects Version/s: 0.23.2 Status: Patch Available (was: Open) > Disallow self failover > ---------------------- > > Key: HDFS-3145 > URL: https://issues.apache.org/jira/browse/HDFS-3145 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha > Affects Versions: 0.23.2 > 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