[ 
https://issues.apache.org/jira/browse/HADOOP-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590642#action_12590642
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3272:
------------------------------------------------

+1 patch looks good.

In this case we don't really need to store BlockInfo reference twice (as key 
and value).  If we implement our hash table, we can reduce one reference per 
entry.

> Reduce redundant copy of Block object in BlocksMap.map hash map
> ---------------------------------------------------------------
>
>                 Key: HADOOP-3272
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3272
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: All
>            Reporter: lohit vijayarenu
>            Assignee: lohit vijayarenu
>             Fix For: 0.18.0
>
>         Attachments: HADOOP-3272.patch
>
>
> Looks like we might have redundant copy of Block object as Key for 
> BlocksMap.map hash map. We should restore this to using same object for both 
> Key, Value to save space. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to