[ http://issues.apache.org/jira/browse/HADOOP-69?page=all ]

Bryan Pendleton updated HADOOP-69:
----------------------------------

    Attachment: patch.txt

Check for null value after looking up blocks (ie, no known node has the block). 
Should prevent the NPE. The correct value (no hints for unfound blocks) is 
returned.

> Unchecked lookup value causes NPE in FSNamesystemgetDatanodeHints
> -----------------------------------------------------------------
>
>          Key: HADOOP-69
>          URL: http://issues.apache.org/jira/browse/HADOOP-69
>      Project: Hadoop
>         Type: Bug
>   Components: dfs
>     Reporter: Bryan Pendleton
>  Attachments: patch.txt
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to