[ 
https://issues.apache.org/jira/browse/HDFS-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177311#comment-14177311
 ] 

Andrew Wang commented on HDFS-7211:
-----------------------------------

Maybe LightWeightLinkedSet?

> Block invalidation work should be ordered
> -----------------------------------------
>
>                 Key: HDFS-7211
>                 URL: https://issues.apache.org/jira/browse/HDFS-7211
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.5.1
>            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)

Reply via email to