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

Hudson commented on HADOOP-10314:
---------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1716 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1716/])
HADOOP-10314. The ls command help still shows outdated 0.16 format. Contributed 
by Rushabh S Shah. (kihwal: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1573604)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Ls.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml


> The ls command help still shows outdated 0.16 format.
> -----------------------------------------------------
>
>                 Key: HADOOP-10314
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10314
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Kihwal Lee
>            Assignee: Rushabh S Shah
>              Labels: newbie
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: patch-10314-v2.patch, patch-10314.patch
>
>
> The description of output format is vastly outdated. It was changed after 
> version 0.16.
> {noformat}
> $ hadoop fs -help ls
> -ls [-d] [-h] [-R] [<path> ...]:      List the contents that match the 
> specified file pattern. If
>               path is not specified, the contents of /user/<currentUser>
>               will be listed. Directory entries are of the form 
>                       dirName (full path) <dir> 
>               and file entries are of the form 
>                       fileName(full path) <r n> size 
>               where n is the number of replicas specified for the file 
>               and size is the size of the file, in bytes.
>                 -d  Directories are listed as plain files.
>                 -h  Formats the sizes of files in a human-readable fashion
>                     rather than a number of bytes.
>                 -R  Recursively list the contents of directories.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to