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

org.apache.hadoop.fs.shell.TestCount fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Error Message

      Argument(s) are different! Wanted:
      printStream.println(
      " DISK_QUOTA REM_DISK_QUOTA SSD_QUOTA REM_SSD_QUOTA ARCHIVE_QUOTA REM_ARCHIVE_QUOTA PATHNAME"
      );
      -> at org.apache.hadoop.fs.shell.TestCount.processPathWithQuotasByQTVH(TestCount.java:342)
      Actual invocation has different arguments:
      printStream.println(
      " SSD_QUOTA REM_SSD_QUOTA DISK_QUOTA REM_DISK_QUOTA ARCHIVE_QUOTA REM_ARCHIVE_QUOTA PATHNAME"
      );
      -> at org.apache.hadoop.fs.shell.Count.processOptions(Count.java:124)

      Check the following report for same..

      https://builds.apache.org/job/PreCommit-HADOOP-Build/6973/testReport/

      1. HADOOP-12095.patch
        1 kB
        Brahma Reddy Battula

        Issue Links

          Activity

          Hide
          ajisakaa Akira Ajisaka added a comment -

          Changing output format of shell command is an incompatible change, however, shell command support for reporting quota per storage type (HDFS-7701) is not released now. I'm thinking we should fix the test case and that's okay.

          Show
          ajisakaa Akira Ajisaka added a comment - Changing output format of shell command is an incompatible change, however, shell command support for reporting quota per storage type ( HDFS-7701 ) is not released now. I'm thinking we should fix the test case and that's okay.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Akira Ajisaka thanks for looking into this issue..

          I'm thinking we should fix the test case and that's okay

          Yes,It should ok.

          Attached the patch to fix the testcase..kindly review..

          Show
          brahmareddy Brahma Reddy Battula added a comment - Akira Ajisaka thanks for looking into this issue.. I'm thinking we should fix the test case and that's okay Yes,It should ok. Attached the patch to fix the testcase..kindly review..
          Hide
          ajisakaa Akira Ajisaka added a comment -

          +1 pending Jenkins. Thanks Brahma Reddy Battula for the quick fix.

          Show
          ajisakaa Akira Ajisaka added a comment - +1 pending Jenkins. Thanks Brahma Reddy Battula for the quick fix.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 7m 0s 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 appears to include 1 new or modified test files.
          +1 javac 7m 34s There were no new javac warning messages.
          +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings.
          +1 checkstyle 1m 6s There were no new checkstyle issues.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 37s mvn install still works.
          +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
          +1 findbugs 1m 48s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
          -1 common tests 22m 17s Tests failed in hadoop-common.
              42m 19s  



          Reason Tests
          Failed unit tests hadoop.security.token.delegation.web.TestWebDelegationToken



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12739941/HADOOP-12095.patch
          Optional Tests javac unit findbugs checkstyle
          git revision trunk / a3990ca
          hadoop-common test log https://builds.apache.org/job/PreCommit-HADOOP-Build/6975/artifact/patchprocess/testrun_hadoop-common.txt
          Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/6975/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-HADOOP-Build/6975/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 7m 0s 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 appears to include 1 new or modified test files. +1 javac 7m 34s There were no new javac warning messages. +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 1m 6s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 37s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 1m 48s The patch does not introduce any new Findbugs (version 3.0.0) warnings. -1 common tests 22m 17s Tests failed in hadoop-common.     42m 19s   Reason Tests Failed unit tests hadoop.security.token.delegation.web.TestWebDelegationToken Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12739941/HADOOP-12095.patch Optional Tests javac unit findbugs checkstyle git revision trunk / a3990ca hadoop-common test log https://builds.apache.org/job/PreCommit-HADOOP-Build/6975/artifact/patchprocess/testrun_hadoop-common.txt Test Results https://builds.apache.org/job/PreCommit-HADOOP-Build/6975/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-HADOOP-Build/6975/console This message was automatically generated.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          The test failure is not related to the patch. Committing this.

          Show
          ajisakaa Akira Ajisaka added a comment - The test failure is not related to the patch. Committing this.
          Hide
          ajisakaa Akira Ajisaka added a comment -

          I've committed the patch to trunk and branch-2. Thanks Brahma Reddy Battula for the contribution!

          Show
          ajisakaa Akira Ajisaka added a comment - I've committed the patch to trunk and branch-2. Thanks Brahma Reddy Battula for the contribution!
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #8028 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8028/)
          HADOOP-12095. org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8028 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8028/ ) HADOOP-12095 . org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Thanks Akira Ajisaka for review and commit

          Show
          brahmareddy Brahma Reddy Battula added a comment - Thanks Akira Ajisaka for review and commit
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #961 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/961/)
          HADOOP-12095. org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #961 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/961/ ) HADOOP-12095 . org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #231 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/231/)
          HADOOP-12095. org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835)

          • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #231 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/231/ ) HADOOP-12095 . org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #220 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/220/)
          HADOOP-12095. org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835)

          • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #220 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/220/ ) HADOOP-12095 . org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #229 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/229/)
          HADOOP-12095. org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #229 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/229/ ) HADOOP-12095 . org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2177 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2177/)
          HADOOP-12095. org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2177 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2177/ ) HADOOP-12095 . org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk #2159 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2159/)
          HADOOP-12095. org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835)

          • hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #2159 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2159/ ) HADOOP-12095 . org.apache.hadoop.fs.shell.TestCount fails. Contributed by Brahma Reddy Battula. (aajisaka: rev b578807b9903f3f2056c7064bfe5af8619eb4835) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCount.java hadoop-common-project/hadoop-common/CHANGES.txt

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              brahmareddy Brahma Reddy Battula
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development