You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kihwal Lee (JIRA)" <ji...@apache.org> on 2014/01/30 23:02:11 UTC

[jira] [Created] (HADOOP-10314) The ls command help still shows outdated 0.16 format.

Kihwal Lee created HADOOP-10314:
-----------------------------------

             Summary: 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


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.1.5#6160)