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

NPE in datanode during TestDataTransferProtocol.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.16.1
    • Component/s: None
    • Labels:
      None

      Description

      The test passes. But there is an NPE in datanode (using branch-0.16) :

      ...
      2008-02-13 21:25:37,534 INFO  dfs.TestDataTransferProtocol (TestDataTransferProtocol.java:sendRecvData(71)) - Testing : wrong bytesPerChecksum while writing
      2008-02-13 21:25:37,535 INFO  dfs.DataNode (DataNode.java:writeBlock(1048)) - Receiving block blk_7408940144175038455 src: /127.0.0.1:4964
      6 dest: /127.0.0.1:49637
      2008-02-13 21:25:37,536 ERROR dfs.DataNode (DataNode.java:run(961)) - 127.0.0.1:49637:DataXceiver: java.lang.NullPointerException
              at org.apache.hadoop.dfs.DataNode$BlockReceiver.close(DataNode.java:2001)
              at org.apache.hadoop.io.IOUtils.closeStream(IOUtils.java:131)
              at org.apache.hadoop.dfs.DataNode$BlockReceiver.<init>(DataNode.java:1993)
              at org.apache.hadoop.dfs.DataNode$DataXceiver.writeBlock(DataNode.java:1074)
              at org.apache.hadoop.dfs.DataNode$DataXceiver.run(DataNode.java:938)
              at java.lang.Thread.run(Thread.java:595)
      
      2008-02-13 21:25:37,537 INFO  dfs.TestDataTransferProtocol (TestDataTransferProtocol.java:sendRecvData(87)) - Got EOF as expected.
      ...
      

        Attachments

        1. HADOOP-2814.patch
          1 kB
          Raghu Angadi

          Activity

            People

            • Assignee:
              rangadi Raghu Angadi
              Reporter:
              rangadi Raghu Angadi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: