recentInvalidateSets in FSNamesystem is not required
-----------------------------------------------------
Key: HADOOP-2695
URL: https://issues.apache.org/jira/browse/HADOOP-2695
Project: Hadoop Core
Issue Type: Bug
Reporter: Raghu Angadi
See HADOOP-2576 for more background.
When a file is deleted, blocks are first placed in recentInvalidateSets and
then later computeDatanodeWork moves it to 'invalidateSet' for each datanode.
I could not see why a block is placed in this intermediate set. I think it is
confusing as well.. for example, -metasave prints blocks from only one list.
Unless we read very carefully its not easy to figure out that there are two
lists. My proposal is to keep only one of them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.