hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8792) Improve BlockManager#postponedMisreplicatedBlocks and BlockManager#excessReplicateMap
Date Thu, 30 Jul 2015 08:48:04 GMT

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

Yi Liu updated HDFS-8792:
-------------------------
    Summary: Improve BlockManager#postponedMisreplicatedBlocks and BlockManager#excessReplicateMap
 (was: Use LightWeightHashSet for BlockManager#postponedMisreplicatedBlocks)

> Improve BlockManager#postponedMisreplicatedBlocks and BlockManager#excessReplicateMap
> -------------------------------------------------------------------------------------
>
>                 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
>
>
> {{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)

Mime
View raw message