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 92FB010567 for ; Tue, 3 Sep 2013 16:06:59 +0000 (UTC) Received: (qmail 82951 invoked by uid 500); 3 Sep 2013 16:06:59 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 82723 invoked by uid 500); 3 Sep 2013 16:06:54 -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 82552 invoked by uid 99); 3 Sep 2013 16:06:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 16:06:52 +0000 Date: Tue, 3 Sep 2013 16:06:52 +0000 (UTC) From: "Arpit Gupta (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5147) Certain dfsadmin commands such as safemode do not interact with the active namenode in ha setup 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-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756728#comment-13756728 ] Arpit Gupta commented on HDFS-5147: ----------------------------------- Ah thanks Konstantin. Yes by default we should always go to the active NN. > Certain dfsadmin commands such as safemode do not interact with the active namenode in ha setup > ----------------------------------------------------------------------------------------------- > > Key: HDFS-5147 > URL: https://issues.apache.org/jira/browse/HDFS-5147 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha > Affects Versions: 2.1.0-beta > Reporter: Arpit Gupta > Assignee: Jing Zhao > > There are certain commands in dfsadmin return the status of the first namenode specified in the configs rather than interacting with the active namenode > For example. Issue > hdfs dfsadmin -safemode get > and it will return the status of the first namenode in the configs rather than the active namenode. > I think all dfsadmin commands should determine which is the active namenode do the operation on it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira