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

Mukul Kumar Singh commented on HDFS-13027:
------------------------------------------

Thanks for working on this [~vinayrpet]. +1, the patch looks good to me.

> Handle possible NPEs due to deleted blocks in race condition
> ------------------------------------------------------------
>
>                 Key: HDFS-13027
>                 URL: https://issues.apache.org/jira/browse/HDFS-13027
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Major
>         Attachments: HDFS-13027-01.patch
>
>
> Since File deletions and Block removal from BlocksMap done in separate locks, 
> there are possibilities of NPE due to calls of 
> {{blockManager.getBlockCollection(block)}} returning null.
> Handle all possibilities of NPEs due to this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to