hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2814) NPE in datanode during TestDataTransferProtocol.
Date Thu, 14 Feb 2008 21:05:09 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569088#action_12569088
] 

Raghu Angadi commented on HADOOP-2814:
--------------------------------------

Regd "no new tests" : This is a fix for a bug triggered by a unit test. So this already has
a test. 

So I think +1.

> NPE in datanode during TestDataTransferProtocol.
> ------------------------------------------------
>
>                 Key: HADOOP-2814
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2814
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>             Fix For: 0.16.1
>
>         Attachments: HADOOP-2814.patch
>
>
> The test passes. But there is an NPE in datanode (using branch-0.16) :
> {noformat}
> ...
> 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.
> ...
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message