-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.9.0, 3.0.0-alpha1, 2.8.2
-
Component/s: namenode
-
Labels:None
-
Hadoop Flags:Reviewed
Currently BlockManager calls Namesystem#getBlockCollection in order to:
1. check if the block has already been abandoned
2. identify the storage policy of the block
3. meta save
For #1 we can use BlockInfo's internal state instead of checking if the corresponding file still exists.
- breaks
-
HDFS-12638 Delete copy-on-truncate block along with the original block, when deleting a file being truncated
-
- Resolved
-
- is related to
-
HDFS-13999 Bogus missing block warning if the file is under construction when NN starts
-
- Resolved
-
-
HDFS-12880 Disallow abandoned blocks in the BlocksMap
-
- Open
-