Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10314

The ls command help still shows outdated 0.16 format.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The description of output format is vastly outdated. It was changed after version 0.16.

      $ 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.
      

        Attachments

        1. patch-10314-v2.patch
          4 kB
          Rushabh Shah
        2. patch-10314.patch
          2 kB
          Rushabh Shah

          Activity

            People

            • Assignee:
              shahrs87 Rushabh Shah
              Reporter:
              kihwal Kihwal Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: