You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2014/10/08 19:06:33 UTC

[jira] [Created] (HDFS-7211) Block invalidation work should be ordered

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)