You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2018/01/17 10:21:00 UTC

[jira] [Created] (HDFS-13027) Handle NPE due to deleted blocks in race condition

Vinayakumar B created HDFS-13027:
------------------------------------

             Summary: Handle NPE 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org