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 4C5E4112A7 for ; Fri, 19 Sep 2014 00:02:00 +0000 (UTC) Received: (qmail 60988 invoked by uid 500); 19 Sep 2014 00:02:00 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 60928 invoked by uid 500); 19 Sep 2014 00:02:00 -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 60916 invoked by uid 99); 19 Sep 2014 00:02:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2014 00:02:00 +0000 Date: Fri, 19 Sep 2014 00:01:59 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6808) Add command line option to ask DataNode reload configuration. 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-6808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139765#comment-14139765 ] Allen Wittenauer commented on HDFS-6808: ---------------------------------------- {code} "\t[-refresh [arg1..argn]\n" + + "\t[-reconfig -datanode [start|status] \n" + {code} This seems really awkward/confusing vs the other refresh options. $ hdfs dfsadmin -reconfig -datanode start blah:00000 $ hdfs dfsadmin -reconfig -datanode status blah:00000 Why is it -datanode instead of just datanode? The "-" implies it is optional. Are there going to be other daemons that will use the -reconfig syntax? Should one or more of the various -refresh options be aliased underneath -reconfig? > Add command line option to ask DataNode reload configuration. > ------------------------------------------------------------- > > Key: HDFS-6808 > URL: https://issues.apache.org/jira/browse/HDFS-6808 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode > Affects Versions: 2.5.0 > Reporter: Lei (Eddy) Xu > Assignee: Lei (Eddy) Xu > Attachments: HDFS-6808.000.combo.patch, HDFS-6808.000.patch, HDFS-6808.001.combo.patch, HDFS-6808.001.patch, HDFS-6808.002.combo.patch, HDFS-6808.002.patch, HDFS-6808.003.combo.txt, HDFS-6808.003.patch, HDFS-6808.004.combo.patch, HDFS-6808.004.patch, HDFS-6808.005.combo.patch, HDFS-6808.005.patch, HDFS-6808.006.combo.patch, HDFS-6808.006.patch, HDFS-6808.007.combo.patch, HDFS-6808.007.patch, HDFS-6808.008.combo.patch, HDFS-6808.008.patch, HDFS-6808.009.combo.patch, HDFS-6808.009.patch > > > The workflow of dynamically changing data volumes on DataNode is > # Users manually changed {{dfs.datanode.data.dir}} in the configuration file > # User use command line to notify DN to reload configuration and updates its volumes. > This work adds command line support to notify DN to reload configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)