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

Update FileSystemShell documentation to mention the meaning of each columns of fs -du

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • documentation, fs
    • None
    • Reviewed

    Description

      hdfs dfs -du command displays in the following format: <size> <disk space consumed> <full path>

      E.g.

      # hdfs dfs -du /hbase/data/default/wordcount/520106d8e4d6a102bdea7f22e99394b5
      43     129    /hbase/data/default/wordcount/520106d8e4d6a102bdea7f22e99394b5/.regioninfo
      10200  30600  /hbase/data/default/wordcount/520106d8e4d6a102bdea7f22e99394b5/f
      

      This proposal is to mention the meaning of the first two columns in FileSystemShell.html since it lacks.

      ref: https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/FsUsage.java#L112-L121

      Attachments

        1. HADOOP-12686.01.patch
          0.8 kB
          Daisuke Kobayashi

        Activity

          People

            daisuke.kobayashi Daisuke Kobayashi
            daisuke.kobayashi Daisuke Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: