[
https://issues.apache.org/jira/browse/HDFS-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764243#action_12764243
]
Konstantin Shvachko commented on HDFS-676:
------------------------------------------
Checked the logs.
Failure of TestDataTransferProtocol is related to HDFS-668, when
updatePipeline() from the client comes after addBlock() from data-node. In this
case the client was trying to close the file after pipeline failure and this
was going on forever, because we don't have a limit for close retries.
Failure of TestBlockUnderConstruction is reported in HDFS-682.
The rest seems to be good.
> NPE in FSDataset.updateReplicaUnderRecovery(..)
> -----------------------------------------------
>
> Key: HDFS-676
> URL: https://issues.apache.org/jira/browse/HDFS-676
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: 0.21.0
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Konstantin Shvachko
> Fix For: 0.21.0
>
> Attachments: h676_20091005.patch, updateRUR.patch
>
>
> {noformat}
> java.io.IOException: java.lang.NullPointerException
> at
> org.apache.hadoop.hdfs.server.datanode.FSDataset.updateReplicaUnderRecovery(FSDataset.java:2089)
> at
> org.apache.hadoop.hdfs.server.datanode.DataNode.updateReplicaUnderRecovery(DataNode.java:1598)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:516)
> ...
> {noformat}
> The problem can be reproduced by calling updateReplicaUnderRecovery(blockid)
> with blockid not in the volumeMap.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.