Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.20.1
-
None
-
None
-
None
Description
When a file is deleted, the namenode sends out block deletions messages to the appropriate datanodes. However, the namenode does not delete these blocks from the blocksmap. Instead, the processing of the next block report from the datanode causes these blocks to get removed from the blocksmap.
If we desire to make block report processing less frequent, this issue needs to be addressed. Also, this introduces indeterministic behaviout to a a few unit tests. Another factor to consider is to ensure that duplicate block detection is not compromised.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-1924 Block information displayed in UI is incorrect
- Resolved
-
HDFS-1230 BlocksMap.blockinfo is not getting cleared immediately after deleting a block.This will be cleared only after block report comes from the datanode.Why we need to maintain the blockinfo till that time.
- Resolved
- is related to
-
HDFS-37 An invalidated block should be removed from the blockMap
- Resolved