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 428469BDE for ; Wed, 25 Apr 2012 14:18:39 +0000 (UTC) Received: (qmail 35944 invoked by uid 500); 25 Apr 2012 14:18:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 35916 invoked by uid 500); 25 Apr 2012 14:18:39 -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 35907 invoked by uid 99); 25 Apr 2012 14:18:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2012 14:18:39 +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; Wed, 25 Apr 2012 14:18:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E13AF35F67D for ; Wed, 25 Apr 2012 14:18:17 +0000 (UTC) Date: Wed, 25 Apr 2012 14:18:17 +0000 (UTC) From: "Ravi Prakash (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1442988158.380.1335363497931.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <606898753.316.1335362059363.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-3321) Error message for insufficient data nodes to come out of safemode is wrong. 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-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Prakash updated HDFS-3321: ------------------------------- Attachment: HDFS-3321.patch Changing the message and the associated test. Super small fix. Can someone please review and commit? > Error message for insufficient data nodes to come out of safemode is wrong. > --------------------------------------------------------------------------- > > Key: HDFS-3321 > URL: https://issues.apache.org/jira/browse/HDFS-3321 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.23.1 > Reporter: Ravi Prakash > Attachments: HDFS-3321.patch > > > Courtesy Andreina, > {quote} > When "dfs.namenode.safemode.min.datanodes" is configured to n > So namenode will be in safemode until n DN are registered with the namenode . > But in UI it displays that n+1 datanodes are additionally needed. And "safe mode will be turned off automatically " message is also displayed . > ========== > "dfs.namenode.safemode.min.datanodes" =2 > Started the NN > The UI report displays that > > "Safe mode is on.The number of live datanodes 0 needs additional 3 live inimum number 2. Safe mode will turned off automatically". > {quote} -- 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