Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2445

Incorrect exit code for hadoop-hdfs-test tests when exception thrown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0, 0.23.0, 0.24.0
    • Fix Version/s: 0.23.0
    • Component/s: test
    • Labels:
      None

      Description

      Please see MAPREDUCE-3179 for a full description.

      1. HDFS-2445.patch
        0.8 kB
        Jonathan Eagles

        Issue Links

          Activity

          Hide
          Jonathan Eagles added a comment -

          Test patch results as run on my box

          +1 overall.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 3 new or modified tests.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 findbugs. The patch does not introduce any new Findbugs (version ) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          Show
          Jonathan Eagles added a comment - Test patch results as run on my box +1 overall. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version ) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings.
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12498920/HDFS-2445.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 3 new or modified tests.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests:
          org.apache.hadoop.hdfs.TestRestartDFS
          org.apache.hadoop.hdfs.TestFileCreationClient
          org.apache.hadoop.hdfs.TestSetrepIncreasing
          org.apache.hadoop.hdfs.TestDistributedFileSystem
          org.apache.hadoop.hdfs.server.datanode.TestDeleteBlockPool

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1365//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1365//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12498920/HDFS-2445.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.hdfs.TestRestartDFS org.apache.hadoop.hdfs.TestFileCreationClient org.apache.hadoop.hdfs.TestSetrepIncreasing org.apache.hadoop.hdfs.TestDistributedFileSystem org.apache.hadoop.hdfs.server.datanode.TestDeleteBlockPool +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1365//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1365//console This message is automatically generated.
          Hide
          Jonathan Eagles added a comment -

          Six core test failures are the same as in previous HDFS build and so are unrelated to this patch.

          Test as above
          https://builds.apache.org/job/PreCommit-HDFS-Build/1365/testReport/

          Compare to previous HDFS build
          https://builds.apache.org/job/PreCommit-HDFS-Build/1364/testReport/

          Show
          Jonathan Eagles added a comment - Six core test failures are the same as in previous HDFS build and so are unrelated to this patch. Test as above https://builds.apache.org/job/PreCommit-HDFS-Build/1365/testReport/ Compare to previous HDFS build https://builds.apache.org/job/PreCommit-HDFS-Build/1364/testReport/
          Hide
          Arun C Murthy added a comment -

          I just committed this. Thanks Jonathan!

          Show
          Arun C Murthy added a comment - I just committed this. Thanks Jonathan!
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Commit #28 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/28/)
          Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #28 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/28/ ) Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #1197 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1197/)
          HDFS-2445. Ensure failed tests exit with proper error code. Contributed by Jonathan Eagles.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186550
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1197 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1197/ ) HDFS-2445 . Ensure failed tests exit with proper error code. Contributed by Jonathan Eagles. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186550 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-0.23-Commit #29 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/29/)
          Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #29 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/29/ ) Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #1119 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1119/)
          HDFS-2445. Ensure failed tests exit with proper error code. Contributed by Jonathan Eagles.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186550
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1119 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1119/ ) HDFS-2445 . Ensure failed tests exit with proper error code. Contributed by Jonathan Eagles. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186550 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-0.23-Commit #29 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/29/)
          Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #29 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/29/ ) Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #1135 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1135/)
          HDFS-2445. Ensure failed tests exit with proper error code. Contributed by Jonathan Eagles.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186550
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1135 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1135/ ) HDFS-2445 . Ensure failed tests exit with proper error code. Contributed by Jonathan Eagles. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186550 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Build #45 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/45/)
          Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #45 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/45/ ) Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-0.23-Build #57 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/57/)
          Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #57 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/57/ ) Merge -c 1186550 from trunk to branch-0.23 to complete fix for HDFS-2445 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1186551 Files : /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test/HdfsTestDriver.java

            People

            • Assignee:
              Jonathan Eagles
              Reporter:
              Jonathan Eagles
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development