Hadoop Common
  1. Hadoop Common
  2. HADOOP-8697

TestWritableName fails intermittently with JDK7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 3.0.0, 2.0.2-alpha
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: test
    • Labels:
    • Environment:

      Description

      On JDK7, testAddName can run before testSetName, which causes it to fail with:

      testAddName(org.apache.hadoop.io.TestWritableName): WritableName can't load class: mystring
      
      1. HADOOP-8697.patch
        0.7 kB
        Trevor Robinson

        Issue Links

          Activity

          Suresh Srinivas made changes -
          Link This issue relates to HADOOP-9175 [ HADOOP-9175 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Arun C Murthy made changes -
          Fix Version/s 3.0.0 [ 12320357 ]
          Fix Version/s 2.1.0-alpha [ 12321441 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1170 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1170/)
          HADOOP-8697. TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349)

          Result = FAILURE
          tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1170 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1170/ ) HADOOP-8697 . TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349) Result = FAILURE tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #1138 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1138/)
          HADOOP-8697. TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349)

          Result = FAILURE
          tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1138 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1138/ ) HADOOP-8697 . TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349) Result = FAILURE tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Build #347 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/347/)
          merge -r 1374349:1374350 from branch-2. FIXES: HADOOP-8697 (Revision 1374352)

          Result = SUCCESS
          tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374352
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #347 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/347/ ) merge -r 1374349:1374350 from branch-2. FIXES: HADOOP-8697 (Revision 1374352) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374352 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #2627 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2627/)
          HADOOP-8697. TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349)

          Result = FAILURE
          tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2627 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2627/ ) HADOOP-8697 . TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349) Result = FAILURE tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #2661 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2661/)
          HADOOP-8697. TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349)

          Result = SUCCESS
          tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2661 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2661/ ) HADOOP-8697 . TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #2597 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2597/)
          HADOOP-8697. TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349)

          Result = SUCCESS
          tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2597 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2597/ ) HADOOP-8697 . TestWritableName fails intermittently with JDK7 (Trevor Robinson via tgraves) (Revision 1374349) Result = SUCCESS tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374349 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestWritableName.java
          Thomas Graves made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.23.3 [ 12320059 ]
          Fix Version/s 2.1.0-alpha [ 12321441 ]
          Fix Version/s 3.0.0 [ 12320357 ]
          Fix Version/s 2.2.0-alpha [ 12322473 ]
          Resolution Fixed [ 1 ]
          Thomas Graves made changes -
          Affects Version/s 0.23.3 [ 12320059 ]
          Affects Version/s 3.0.0 [ 12320357 ]
          Affects Version/s 2.2.0-alpha [ 12322473 ]
          Target Version/s 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha [ 12320059, 12321441, 12320357, 12322473 ]
          Hide
          Thomas Graves added a comment -

          +1 Thanks Trevor!

          Show
          Thomas Graves added a comment - +1 Thanks Trevor!
          Eli Collins made changes -
          Labels java7
          Hide
          Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12540820/HADOOP-8697.patch
          against trunk revision .

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

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

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

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

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +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 passed unit tests in hadoop-common-project/hadoop-common.

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

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1291//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1291//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/12540820/HADOOP-8697.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 1 new or modified test files. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +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 passed unit tests in hadoop-common-project/hadoop-common. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1291//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1291//console This message is automatically generated.
          Trevor Robinson made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Trevor Robinson [ scurrilous ]
          Trevor Robinson made changes -
          Field Original Value New Value
          Attachment HADOOP-8697.patch [ 12540820 ]
          Hide
          Trevor Robinson added a comment -

          Remove dependency of testAddName on testSetName running first by explicitly calling WritableName.setName.

          Show
          Trevor Robinson added a comment - Remove dependency of testAddName on testSetName running first by explicitly calling WritableName.setName .
          Trevor Robinson created issue -

            People

            • Assignee:
              Trevor Robinson
              Reporter:
              Trevor Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development