[
https://issues.apache.org/jira/browse/HDFS-8792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700031#comment-14700031
]
Colin Patrick McCabe commented on HDFS-8792:
--------------------------------------------
Thanks for this, [~hitliuyi]. +1. Test failure is unrelated. I will fix the
lines which end in whitespace by using {{git apply \-\-whitespace=fix}}.
> Improve BlockManager#postponedMisreplicatedBlocks
> -------------------------------------------------
>
> Key: HDFS-8792
> URL: https://issues.apache.org/jira/browse/HDFS-8792
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Yi Liu
> Assignee: Yi Liu
> Attachments: HDFS-8792.001.patch, HDFS-8792.002.patch,
> HDFS-8792.003.patch
>
>
> {{LightWeightHashSet}} requires fewer memory than java hashset.
> Furthermore, for {{excessReplicateMap}}, we can use {{HashMap}} instead of
> {{TreeMap}} instead, since no need to sort.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)