[ 
https://issues.apache.org/jira/browse/HDFS-2245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2245:
-----------------------------------------

    Attachment: h2245_20110810.patch

h2245_20110810.patch: fixed the NPE.

> 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
>         Attachments: h2245_20110810.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

        

Reply via email to