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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: documentation, fs
    • Labels:
      None
    • Hadoop Flags:
      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

      1. HADOOP-12686.01.patch
        0.8 kB
        Daisuke Kobayashi

        Activity

        Hide
        daisuke.kobayashi Daisuke Kobayashi added a comment -

        Thank you, Akira!

        Show
        daisuke.kobayashi Daisuke Kobayashi added a comment - Thank you, Akira!
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #9046 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9046/)
        HADOOP-12686. Update FileSystemShell documentation to mention the (aajisaka: rev 1af2917856f8da3ad76bb6cbbc511627a647e091)

        • hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md
        • hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #9046 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9046/ ) HADOOP-12686 . Update FileSystemShell documentation to mention the (aajisaka: rev 1af2917856f8da3ad76bb6cbbc511627a647e091) hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Committed this to trunk, branch-2, and branch-2.8. Thanks Daisuke Kobayashi for the contribution!

        Show
        ajisakaa Akira Ajisaka added a comment - Committed this to trunk, branch-2, and branch-2.8. Thanks Daisuke Kobayashi for the contribution!
        Hide
        ajisakaa Akira Ajisaka added a comment -

        +1, committing this.

        Show
        ajisakaa Akira Ajisaka added a comment - +1, committing this.
        Hide
        hadoopqa Hadoop QA added a comment -
        +1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 0s Docker mode activated.
        +1 @author 0m 0s The patch does not contain any @author tags.
        +1 mvnsite 1m 4s trunk passed
        +1 mvnsite 0m 57s the patch passed
        +1 whitespace 0m 0s Patch has no whitespace issues.
        +1 asflicense 0m 24s Patch does not generate ASF License warnings.
        2m 45s



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:0ca8df7
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12780298/HADOOP-12686.01.patch
        JIRA Issue HADOOP-12686
        Optional Tests asflicense mvnsite
        uname Linux 3119a626ba79 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Build tool maven
        Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 7dafee1
        modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
        Max memory used 31MB
        Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org
        Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8334/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 0s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 mvnsite 1m 4s trunk passed +1 mvnsite 0m 57s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 asflicense 0m 24s Patch does not generate ASF License warnings. 2m 45s Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12780298/HADOOP-12686.01.patch JIRA Issue HADOOP-12686 Optional Tests asflicense mvnsite uname Linux 3119a626ba79 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 7dafee1 modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common Max memory used 31MB Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/8334/console This message was automatically generated.
        Hide
        daisuke.kobayashi Daisuke Kobayashi added a comment -

        Uploaded a quick patch. I'd appreciate any comments on it.

        Show
        daisuke.kobayashi Daisuke Kobayashi added a comment - Uploaded a quick patch. I'd appreciate any comments on it.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development