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 46328DD75 for ; Thu, 16 Aug 2012 14:45:39 +0000 (UTC) Received: (qmail 65242 invoked by uid 500); 16 Aug 2012 14:45:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 65204 invoked by uid 500); 16 Aug 2012 14:45:38 -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 65190 invoked by uid 99); 16 Aug 2012 14:45:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 14:45:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 581DD2C5BEB for ; Thu, 16 Aug 2012 14:45:38 +0000 (UTC) Date: Fri, 17 Aug 2012 01:45:38 +1100 (NCT) From: "Vinay (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1754057059.19049.1345128338361.JavaMail.jiratomcat@arcas> In-Reply-To: <1087802406.39331.1338901523424.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HDFS-3507) DFS#isInSafeMode needs to execute only on Active NameNode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinay updated HDFS-3507: ------------------------ Attachment: HDFS-3507.patch Attaching the latest re-based patch > DFS#isInSafeMode needs to execute only on Active NameNode > --------------------------------------------------------- > > Key: HDFS-3507 > URL: https://issues.apache.org/jira/browse/HDFS-3507 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha > Affects Versions: 2.1.0-alpha, 3.0.0 > Reporter: Vinay > Assignee: Vinay > Attachments: HDFS-3507.patch, HDFS-3507.patch > > > Currently DFS#isInSafeMode is not Checking for the NN state. It can be executed on any of the NNs. > But HBase will use this API to check for the NN safemode before starting up its service. > If first NN configured is in standby then DFS#isInSafeMode will check standby NNs safemode but hbase want state of Active NN. -- 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