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 9182511045 for ; Fri, 5 Sep 2014 03:31:24 +0000 (UTC) Received: (qmail 73848 invoked by uid 500); 5 Sep 2014 03:31:24 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 73792 invoked by uid 500); 5 Sep 2014 03:31:24 -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 73781 invoked by uid 99); 5 Sep 2014 03:31:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 03:31:24 +0000 Date: Fri, 5 Sep 2014 03:31:24 +0000 (UTC) From: "Akira AJISAKA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6831) Inconsistency between 'hdfs dfsadmin' and 'hdfs dfsadmin -help' 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-6831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122349#comment-14122349 ] Akira AJISAKA commented on HDFS-6831: ------------------------------------- Thanks [~xyao] for updating the patch. Would you please remove grouping the imports from the patch? > Inconsistency between 'hdfs dfsadmin' and 'hdfs dfsadmin -help' > --------------------------------------------------------------- > > Key: HDFS-6831 > URL: https://issues.apache.org/jira/browse/HDFS-6831 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.4.0 > Reporter: Akira AJISAKA > Assignee: Xiaoyu Yao > Priority: Minor > Labels: newbie > Attachments: HDFS-6831.0.patch, HDFS-6831.1.patch, HDFS-6831.2.patch > > > There is an inconsistency between the console outputs of 'hdfs dfsadmin' command and 'hdfs dfsadmin -help' command. > {code} > [root@trunk ~]# hdfs dfsadmin > Usage: java DFSAdmin > Note: Administrative commands can only be run as the HDFS superuser. > [-report] > [-safemode enter | leave | get | wait] > [-allowSnapshot ] > [-disallowSnapshot ] > [-saveNamespace] > [-rollEdits] > [-restoreFailedStorage true|false|check] > [-refreshNodes] > [-finalizeUpgrade] > [-rollingUpgrade []] > [-metasave filename] > [-refreshServiceAcl] > [-refreshUserToGroupsMappings] > [-refreshSuperUserGroupsConfiguration] > [-refreshCallQueue] > [-refresh] > [-printTopology] > [-refreshNamenodes datanodehost:port] > [-deleteBlockPool datanode-host:port blockpoolId [force]] > [-setQuota ...] > [-clrQuota ...] > [-setSpaceQuota ...] > [-clrSpaceQuota ...] > [-setBalancerBandwidth ] > [-fetchImage ] > [-shutdownDatanode [upgrade]] > [-getDatanodeInfo ] > [-help [cmd]] > {code} > {code} > [root@trunk ~]# hdfs dfsadmin -help > hadoop dfsadmin performs DFS administrative commands. > The full syntax is: > hadoop dfsadmin > [-report [-live] [-dead] [-decommissioning]] > [-safemode ] > [-saveNamespace] > [-rollEdits] > [-restoreFailedStorage true|false|check] > [-refreshNodes] > [-setQuota ...] > [-clrQuota ...] > [-setSpaceQuota ...] > [-clrSpaceQuota ...] > [-finalizeUpgrade] > [-rollingUpgrade []] > [-refreshServiceAcl] > [-refreshUserToGroupsMappings] > [-refreshSuperUserGroupsConfiguration] > [-refreshCallQueue] > [-refresh [arg1..argn] > [-printTopology] > [-refreshNamenodes datanodehost:port] > [-deleteBlockPool datanodehost:port blockpoolId [force]] > [-setBalancerBandwidth ] > [-fetchImage ] > [-allowSnapshot ] > [-disallowSnapshot ] > [-shutdownDatanode [upgrade]] > [-getDatanodeInfo > [-help [cmd] > {code} > These two outputs should be the same. -- This message was sent by Atlassian JIRA (v6.3.4#6332)