[
https://issues.apache.org/jira/browse/HADOOP-10314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918232#comment-13918232
]
Kihwal Lee commented on HADOOP-10314:
-------------------------------------
+1 the patch looks good.
> 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
> 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)