Details
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-8330 BlockInfoContiguous in blocksMap can have null BlockCollection
- Open
-
HDFS-12638 Delete copy-on-truncate block along with the original block, when deleting a file being truncated
- Resolved
-
HDFS-12880 Disallow abandoned blocks in the BlocksMap
- Open