[
https://issues.apache.org/jira/browse/HDFS-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-2245:
-----------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
The failed tests are not related; see [this
comment|https://issues.apache.org/jira/browse/HDFS-2230?focusedCommentId=13081483&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13081483].
I have committed this.
> BlockManager.chooseTarget(..) throws NPE
> ----------------------------------------
>
> Key: HDFS-2245
> URL: https://issues.apache.org/jira/browse/HDFS-2245
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.23.0
>
> Attachments: h2245_20110810.patch, h2245_20110810b.patch
>
>
> {noformat}
> 2011-08-10 20:20:51,350 INFO org.apache.hadoop.ipc.Server: IPC Server handler
> 1 on 8020, call: addBlock(/user/had
> oopqa/passwd.1108102020.<NN hostname>.txt,
> DFSClient_NONMAPREDUCE_1875954430_1, null, null), rpc
> version=1, client version=68, methodsFingerPrint=-1239577025 from
> <gateway>:38874, error:
> java.io.IOException: java.lang.NullPointerException
> at
> org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget(BlockManager.java:1225)
> at
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1455)
> at
> org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:786)
> ...
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira