hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5468) CacheAdmin help command does not recognize commands
Date Wed, 06 Nov 2013 06:17:17 GMT

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

Hadoop QA commented on HDFS-5468:
---------------------------------

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

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

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

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

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:red}-1 eclipse:eclipse{color}.  The patch failed to build with eclipse:eclipse.

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

        {color:red}-1 release audit{color}.  The applied patch generated 1 release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-hdfs-project/hadoop-hdfs.

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

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/5344//testReport/
Release audit warnings: https://builds.apache.org/job/PreCommit-HDFS-Build/5344//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/5344//console

This message is automatically generated.

> CacheAdmin help command does not recognize commands
> ---------------------------------------------------
>
>                 Key: HDFS-5468
>                 URL: https://issues.apache.org/jira/browse/HDFS-5468
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>            Priority: Minor
>         Attachments: HDFS-5468.patch
>
>
> Currently, the hdfs cacheadmin -help command will not recognize correct command inputs:
> {code}
> [hdfs@hdfs-cache ~]# hdfs cacheadmin -help listPools
> Sorry, I don't know the command 'listPools'.
> Valid command names are:
> -addDirective, -removeDirective, -removeDirectives, -listDirectives, -addPool, -modifyPool,
-removePool, -listPools, -help
> [hdfs@hdfs-cache ~]# hdfs cacheadmin -help -listPools
> Sorry, I don't know the command 'listPools'.
> Valid command names are:
> -addDirective, -removeDirective, -removeDirectives, -listDirectives, -addPool, -modifyPool,
-removePool, -listPools, -help
> {code}
> In the code, we strip the input command of leading hyphens, but then compare it to the
command names, which are all prefixed by a hyphen.
> Also, cacheadmin -removeDirectives requires specifying a path with -path but -path is
not shown in the usage. We should fix this as well.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message