[ 
https://issues.apache.org/jira/browse/HDFS-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13859788#comment-13859788
 ] 

Andrew Wang commented on HDFS-5708:
-----------------------------------

Thanks Colin, this looks good. The test is a bit racy, in that it definitely 
tests the cache report processing code, but the bad block ID might get wiped 
out by the next cache report before it's seen by the CRM or getBlockLocations. 
However, both look fine. I also ran the failed Jenkins test successfully on my 
box. 

+1, will commit shortly.

> The CacheManager throws a NPE in the DataNode logs when processing cache 
> reports that refer to a block not known to the BlockManager
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5708
>                 URL: https://issues.apache.org/jira/browse/HDFS-5708
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-5708.001.patch
>
>
> The CacheManager throws a NPE in the DataNode logs when processing cache 
> reports that refer to a block we haven't learned about yet.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to