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

The ls command help still shows outdated 0.16 format.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.4.0
    • None
    • 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.patch
          2 kB
          Rushabh Shah
        2. patch-10314-v2.patch
          4 kB
          Rushabh Shah

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: