Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8535

Clarify that dfs usage in dfsadmin -report output includes all block replicas.

    Details

    • Target Version/s:
    • Tags:
      doc

      Description

      Some user get confused about this and think it is just space used by the files forgetting about the additional replicas that take up space.

      1. HDFS-8535.001.patch
        3 kB
        Lei (Eddy) Xu
      2. HDFS-8535.000.patch
        2 kB
        Lei (Eddy) Xu

        Activity

        Hide
        eddyxu Lei (Eddy) Xu added a comment -

        The patch add clarification message into dfsadmin -report help message.

        Show
        eddyxu Lei (Eddy) Xu added a comment - The patch add clarification message into dfsadmin -report help message.
        Hide
        andrew.wang Andrew Wang added a comment -

        Hmm, so it seems like the main clarification we want to make is that this can differ from du output, for reasons like replication and snapshots, since -report is the raw disk usage vs. logical file sizes. Maybe we add some more text to explain this?

        Show
        andrew.wang Andrew Wang added a comment - Hmm, so it seems like the main clarification we want to make is that this can differ from du output, for reasons like replication and snapshots, since -report is the raw disk usage vs. logical file sizes. Maybe we add some more text to explain this?
        Hide
        eddyxu Lei (Eddy) Xu added a comment -

        Yeah, Andrew Wang, users got confused du and report. I made changes on the literal regarding your comments.

        Show
        eddyxu Lei (Eddy) Xu added a comment - Yeah, Andrew Wang , users got confused du and report . I made changes on the literal regarding your comments.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 20m 48s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 tests included 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
        +1 javac 7m 29s There were no new javac warning messages.
        +1 javadoc 9m 39s There were no new javadoc warning messages.
        +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
        +1 site 2m 57s Site still builds.
        -1 checkstyle 2m 13s The applied patch generated 3 new checkstyle issues (total was 226, now 227).
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 32s mvn install still works.
        +1 eclipse:eclipse 0m 32s The patch built with eclipse:eclipse.
        +1 findbugs 3m 19s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        +1 native 3m 12s Pre-build of native portion
        +1 hdfs tests 161m 30s Tests passed in hadoop-hdfs.
            213m 38s  



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12737651/HDFS-8535.000.patch
        Optional Tests javadoc javac unit findbugs checkstyle site
        git revision trunk / 1970ca7
        checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/11233/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt
        hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/11233/artifact/patchprocess/testrun_hadoop-hdfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/11233/testReport/
        Java 1.7.0_55
        uname Linux asf900.gq1.ygridcore.net 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
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11233/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 20m 48s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. -1 tests included 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac 7m 29s There were no new javac warning messages. +1 javadoc 9m 39s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 site 2m 57s Site still builds. -1 checkstyle 2m 13s The applied patch generated 3 new checkstyle issues (total was 226, now 227). +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 32s mvn install still works. +1 eclipse:eclipse 0m 32s The patch built with eclipse:eclipse. +1 findbugs 3m 19s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 3m 12s Pre-build of native portion +1 hdfs tests 161m 30s Tests passed in hadoop-hdfs.     213m 38s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12737651/HDFS-8535.000.patch Optional Tests javadoc javac unit findbugs checkstyle site git revision trunk / 1970ca7 checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/11233/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/11233/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/11233/testReport/ Java 1.7.0_55 uname Linux asf900.gq1.ygridcore.net 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 Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11233/console This message was automatically generated.
        Hide
        eddyxu Lei (Eddy) Xu added a comment -

        Hi, Andrew

        This patch is modifying comments, thus no test included. Moreover, the checkstyle warnings are not actionable due to it is caused by the existing format used in the file.

        Show
        eddyxu Lei (Eddy) Xu added a comment - Hi, Andrew This patch is modifying comments, thus no test included. Moreover, the checkstyle warnings are not actionable due to it is caused by the existing format used in the file.
        Hide
        andrew.wang Andrew Wang added a comment -

        +1 LGTM thanks Ed, I'll commit this shortly.

        Show
        andrew.wang Andrew Wang added a comment - +1 LGTM thanks Ed, I'll commit this shortly.
        Hide
        andrew.wang Andrew Wang added a comment -

        Pushed to trunk and branch-2, thanks again Eddy for the contribution.

        Show
        andrew.wang Andrew Wang added a comment - Pushed to trunk and branch-2, thanks again Eddy for the contribution.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #7972 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7972/)
        HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934)

        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7972 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7972/ ) HDFS-8535 . Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 20m 38s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 tests included 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
        +1 javac 7m 30s There were no new javac warning messages.
        +1 javadoc 9m 42s There were no new javadoc warning messages.
        +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
        +1 site 2m 58s Site still builds.
        -1 checkstyle 2m 11s The applied patch generated 5 new checkstyle issues (total was 226, now 229).
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 34s mvn install still works.
        +1 eclipse:eclipse 0m 31s The patch built with eclipse:eclipse.
        +1 findbugs 3m 24s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
        +1 native 3m 18s Pre-build of native portion
        -1 hdfs tests 143m 49s Tests failed in hadoop-hdfs.
            196m 4s  



        Reason Tests
        Timed out tests org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12737689/HDFS-8535.001.patch
        Optional Tests javadoc javac unit findbugs checkstyle site
        git revision trunk / 405bbcf
        checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/11234/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt
        hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/11234/artifact/patchprocess/testrun_hadoop-hdfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/11234/testReport/
        Java 1.7.0_55
        uname Linux asf903.gq1.ygridcore.net 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
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11234/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 20m 38s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. -1 tests included 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac 7m 30s There were no new javac warning messages. +1 javadoc 9m 42s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 site 2m 58s Site still builds. -1 checkstyle 2m 11s The applied patch generated 5 new checkstyle issues (total was 226, now 229). +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 34s mvn install still works. +1 eclipse:eclipse 0m 31s The patch built with eclipse:eclipse. +1 findbugs 3m 24s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 3m 18s Pre-build of native portion -1 hdfs tests 143m 49s Tests failed in hadoop-hdfs.     196m 4s   Reason Tests Timed out tests org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12737689/HDFS-8535.001.patch Optional Tests javadoc javac unit findbugs checkstyle site git revision trunk / 405bbcf checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/11234/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/11234/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/11234/testReport/ Java 1.7.0_55 uname Linux asf903.gq1.ygridcore.net 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 Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11234/console This message was automatically generated.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #219 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/219/)
        HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934)

        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #219 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/219/ ) HDFS-8535 . Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk #949 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/949/)
        HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #949 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/949/ ) HDFS-8535 . Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Hdfs-trunk #2147 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2147/)
        HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #2147 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2147/ ) HDFS-8535 . Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #208 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/208/)
        HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934)

        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #208 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/208/ ) HDFS-8535 . Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2165 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2165/)
        HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2165 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2165/ ) HDFS-8535 . Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #217 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/217/)
        HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934)

        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #217 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/217/ ) HDFS-8535 . Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. (wang: rev b2540f486ed99e1433d4e5118608da8dd365a934) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

          People

          • Assignee:
            eddyxu Lei (Eddy) Xu
            Reporter:
            eddyxu Lei (Eddy) Xu
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development