When a file is deleted, its blocks remain in the blocksmap till the next block
report from Datanode
---------------------------------------------------------------------------------------------------
Key: HADOOP-1705
URL: https://issues.apache.org/jira/browse/HADOOP-1705
Project: Hadoop
Issue Type: Bug
Components: dfs
Reporter: dhruba borthakur
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.