[ 
https://issues.apache.org/jira/browse/HADOOP-6314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777886#action_12777886
 ] 

Hudson commented on HADOOP-6314:
--------------------------------

Integrated in Hadoop-Common-trunk #158 (See 
[http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/158/])
    . Fix "fs -help" for the "-count" commond.  Contributed by Ravi Phulari


> "bin/hadoop fs -help count"  fails to show help about only "count" command. 
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-6314
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6314
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Ravi Phulari
>            Assignee: Ravi Phulari
>             Fix For: 0.22.0
>
>         Attachments: CountHelp.patch, CountHelp.patch
>
>
> Currently "hadoop fs -help count" fails to show help about only count 
> command. 
> Instead it displays following output
> {noformat}
> [rphul...@statepick-lm]> bin/hadoop fs -help count
> hadoop fs is the command to execute fs commands. The full syntax is: 
> hadoop fs [-fs <local | file system URI>] [-conf <configuration file>]
>       [-D <property=value>] [-ls <path>] [-lsr <path>] [-df [<path>]] [-du 
> <path>]
>       [-dus <path>] [-mv <src> <dst>] [-cp <src> <dst>] [-rm [-skipTrash] 
> <src>]
>       [-rmr [-skipTrash] <src>] [-put <localsrc> ... <dst>] [-copyFromLocal 
> <localsrc> ... <dst>]
>       [-moveFromLocal <localsrc> ... <dst>] [-get [-ignoreCrc] [-crc] <src> 
> <localdst>
>       [-getmerge <src> <localdst> [addnl]] [-cat <src>]
>       [-copyToLocal [-ignoreCrc] [-crc] <src> <localdst>] [-moveToLocal <src> 
> <localdst>]
>       [-mkdir <path>] [-report] [-setrep [-R] [-w] <rep> <path/file>]
>       [-touchz <path>] [-test -[ezd] <path>] [-stat [format] <path>]
>       [-tail [-f] <path>] [-text <path>]
> ..
> ..
> ..
> {noformat}
> Expected output of "bin/hadoop fs -help count " should be 
> {noformat}
> [rphul...@statepick-lm]> bin/hadoop  fs -help count
> -count[-q] <path>: Count the number of directories, files and bytes under the 
> paths
>               that match the specified file pattern.  The output columns are:
>               DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME or
>               QUOTA REMAINING_QUATA SPACE_QUOTA REMAINING_SPACE_QUOTA 
>                     DIR_COUNT FILE_COUNT CONTENT_SIZE FILE_NAME
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to