[ 
https://issues.apache.org/jira/browse/HDFS-8792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin Patrick McCabe updated HDFS-8792:
---------------------------------------
    Description: {{LightWeightHashSet}} requires fewer memory than java 
hashset.   (was: {{LightWeightHashSet}} requires fewer memory than java 
hashset. 

Furthermore, for {{excessReplicateMap}}, we can use {{HashMap}} instead of 
{{TreeMap}} instead, since no need to sort. )

> BlockManager#postponedMisreplicatedBlocks should use a LightWeightHashSet to 
> save memory
> ----------------------------------------------------------------------------------------
>
>                 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to