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 621D6901E for ; Fri, 9 Mar 2012 09:59:18 +0000 (UTC) Received: (qmail 53388 invoked by uid 500); 9 Mar 2012 09:59:18 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 53344 invoked by uid 500); 9 Mar 2012 09:59:18 -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 53328 invoked by uid 99); 9 Mar 2012 09:59:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 09:59:18 +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; Fri, 09 Mar 2012 09:59:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CFE9311335 for ; Fri, 9 Mar 2012 09:58:54 +0000 (UTC) Date: Fri, 9 Mar 2012 09:58:54 +0000 (UTC) From: "Todd Lipcon (Assigned) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1021041217.42907.1331287134852.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1602658885.41956.1331257556973.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (HDFS-3071) haadmin failover command does not provide enough detail for when target NN is not ready to be active 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-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon reassigned HDFS-3071: --------------------------------- Assignee: Todd Lipcon > haadmin failover command does not provide enough detail for when target NN is not ready to be active > ---------------------------------------------------------------------------------------------------- > > Key: HDFS-3071 > URL: https://issues.apache.org/jira/browse/HDFS-3071 > Project: Hadoop HDFS > Issue Type: Improvement > Components: ha > Affects Versions: 0.24.0 > Reporter: Philip Zeyliger > Assignee: Todd Lipcon > > When running the failover command, you can get an error message like the following: > {quote} > $ hdfs --config $(pwd) haadmin -failover namenode2 namenode1 > Failover failed: xxx.yyy/1.2.3.4:8020 is not ready to become active > {quote} > Unfortunately, the error message doesn't describe why that node isn't ready to be active. In my case, the target namenode's logs don't indicate anything either. It turned out that the issue was "Safe mode is ON.Resources are low on NN. Safe mode must be turned off manually.", but ideally the user would be told that at the time of the failover. -- 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