[ 
https://issues.apache.org/jira/browse/HDFS-6831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122561#comment-14122561
 ] 

Hadoop QA commented on HDFS-6831:
---------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12666668/HDFS-6831.3.patch
  against trunk revision 772d1fb.

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-hdfs-project/hadoop-hdfs:

                  org.apache.hadoop.tools.TestTools
                  
org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover
                  org.apache.hadoop.hdfs.server.balancer.TestBalancer

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/7911//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/7911//console

This message is automatically generated.

> 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, 
> HDFS-6831.3.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 <snapshotDir>]
>            [-disallowSnapshot <snapshotDir>]
>            [-saveNamespace]
>            [-rollEdits]
>            [-restoreFailedStorage true|false|check]
>            [-refreshNodes]
>            [-finalizeUpgrade]
>            [-rollingUpgrade [<query|prepare|finalize>]]
>            [-metasave filename]
>            [-refreshServiceAcl]
>            [-refreshUserToGroupsMappings]
>            [-refreshSuperUserGroupsConfiguration]
>            [-refreshCallQueue]
>            [-refresh]
>            [-printTopology]
>            [-refreshNamenodes datanodehost:port]
>            [-deleteBlockPool datanode-host:port blockpoolId [force]]
>            [-setQuota <quota> <dirname>...<dirname>]
>            [-clrQuota <dirname>...<dirname>]
>            [-setSpaceQuota <quota> <dirname>...<dirname>]
>            [-clrSpaceQuota <dirname>...<dirname>]
>            [-setBalancerBandwidth <bandwidth in bytes per second>]
>            [-fetchImage <local directory>]
>            [-shutdownDatanode <datanode_host:ipc_port> [upgrade]]
>            [-getDatanodeInfo <datanode_host:ipc_port>]
>            [-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 <enter | leave | get | wait>]
>       [-saveNamespace]
>       [-rollEdits]
>       [-restoreFailedStorage true|false|check]
>       [-refreshNodes]
>       [-setQuota <quota> <dirname>...<dirname>]
>       [-clrQuota <dirname>...<dirname>]
>       [-setSpaceQuota <quota> <dirname>...<dirname>]
>       [-clrSpaceQuota <dirname>...<dirname>]
>       [-finalizeUpgrade]
>       [-rollingUpgrade [<query|prepare|finalize>]]
>       [-refreshServiceAcl]
>       [-refreshUserToGroupsMappings]
>       [-refreshSuperUserGroupsConfiguration]
>       [-refreshCallQueue]
>       [-refresh <host:ipc_port> <key> [arg1..argn]
>       [-printTopology]
>       [-refreshNamenodes datanodehost:port]
>       [-deleteBlockPool datanodehost:port blockpoolId [force]]
>       [-setBalancerBandwidth <bandwidth>]
>       [-fetchImage <local directory>]
>       [-allowSnapshot <snapshotDir>]
>       [-disallowSnapshot <snapshotDir>]
>       [-shutdownDatanode <datanode_host:ipc_port> [upgrade]]
>       [-getDatanodeInfo <datanode_host:ipc_port>
>       [-help [cmd]
> {code}
> These two outputs should be the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to