Zhe Zhang created HDFS-7211: ------------------------------- Summary: Block invalidation work should be ordered Key: HDFS-7211 URL: https://issues.apache.org/jira/browse/HDFS-7211 Project: Hadoop HDFS Issue Type: Bug Reporter: Zhe Zhang Assignee: Zhe Zhang
{{InvalidateBlocks#node2blocks}} uses an unordered {{LightWeightHashSet}} to store blocks (to be invalidated) on the same DN. This causes poor ordering when a single DN has a large number of blocks to invalidate. Blocks should be invalidated following the order of invalidation commands -- at least roughly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)