Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1908

DataTransferTestUtil$CountdownDoosAction.run(..) throws NullPointerException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In build #426,

      2011-04-28 07:20:10,559 ERROR datanode.DataNode (DataXceiver.java:run(133)) - DatanodeRegistration(127.0.0.1:50589,
       storageID=DS-499221794-127.0.1.1-50589-1303975177998, infoPort=58607, ipcPort=52786):DataXceiver
      java.lang.NullPointerException
      	at org.apache.hadoop.fi.DataTransferTestUtil$CountdownDoosAction.run(DataTransferTestUtil.java:288)
      	at org.apache.hadoop.fi.DataTransferTestUtil$DoosAction.run(DataTransferTestUtil.java:1)
      ...
      
      1. h1908_20110509b.patch
        8 kB
        Tsz Wo Nicholas Sze
      2. h1908_20110509.patch
        7 kB
        Tsz Wo Nicholas Sze

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #673 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/673/)

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #673 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/673/ )
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #637 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/637/)

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #637 (See https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/637/ )
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Thanks Suresh for the review.

        I have committed this.

        Show
        Tsz Wo Nicholas Sze added a comment - Thanks Suresh for the review. I have committed this.
        Hide
        Suresh Srinivas added a comment -

        +1 for the patch.

        Show
        Suresh Srinivas added a comment - +1 for the patch.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        There are possibly >1 pipelines according to HDFS-539. For most of the tests, only the last pipeline is used.

        Show
        Tsz Wo Nicholas Sze added a comment - There are possibly >1 pipelines according to HDFS-539 . For most of the tests, only the last pipeline is used.
        Hide
        Eli Collins added a comment -

        lgtm. Should getPipelineForDatanode assert there is only 1 pipeline?

        Show
        Eli Collins added a comment - lgtm. Should getPipelineForDatanode assert there is only 1 pipeline?
        Hide
        Hadoop QA added a comment -

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

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

        +1 tests included. The patch appears to include 12 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 core unit tests:
        org.apache.hadoop.hdfs.TestDFSShell
        org.apache.hadoop.hdfs.TestDFSStorageStateRecovery
        org.apache.hadoop.hdfs.TestFileConcurrentReader

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

        +1 system test framework. The patch passed system test framework compile.

        Test results: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/472//testReport/
        Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/472//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Console output: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/472//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/12478662/h1908_20110509b.patch against trunk revision 1101293. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 12 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 core unit tests: org.apache.hadoop.hdfs.TestDFSShell org.apache.hadoop.hdfs.TestDFSStorageStateRecovery org.apache.hadoop.hdfs.TestFileConcurrentReader +1 contrib tests. The patch passed contrib unit tests. +1 system test framework. The patch passed system test framework compile. Test results: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/472//testReport/ Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/472//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/472//console This message is automatically generated.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        h1908_20110509b.patch: added DataTransferTest.isNotSuccessAndLastPipelineContains(..)

        Show
        Tsz Wo Nicholas Sze added a comment - h1908_20110509b.patch: added DataTransferTest.isNotSuccessAndLastPipelineContains(..)
        Hide
        Tsz Wo Nicholas Sze added a comment -

        h1908_20110509.patch: split DataTransferTestUtil.getPipeline(..) into getPipelineForDatanode(..) and getThePipeline().

        Show
        Tsz Wo Nicholas Sze added a comment - h1908_20110509.patch: split DataTransferTestUtil.getPipeline(..) into getPipelineForDatanode(..) and getThePipeline() .

          People

          • Assignee:
            Tsz Wo Nicholas Sze
            Reporter:
            Tsz Wo Nicholas Sze
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development