[
https://issues.apache.org/jira/browse/HDFS-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695906#comment-13695906
]
Aaron T. Myers commented on HDFS-4465:
--------------------------------------
Sorry, Suresh. I got distracted.
Yes, I'm working on a patch to address the feedback and findbugs warnings.
Should hopefully post that early next week.
Regarding this comment:
bq. I would prefer to keep BlockScanInfo to contain Block instead of extending
Block.
The point there was to save the extra object overhead, since in the DN we have
a 1-to-1 correspondence between BlockScanInfo and Block objects being created.
Given this, do you still want to use containment instead of inheritance?
> Optimize datanode ReplicasMap and ReplicaInfo
> ---------------------------------------------
>
> Key: HDFS-4465
> URL: https://issues.apache.org/jira/browse/HDFS-4465
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Affects Versions: 2.0.5-alpha
> Reporter: Suresh Srinivas
> Assignee: Aaron T. Myers
> Attachments: dn-memory-improvements.patch, HDFS-4465.patch
>
>
> In Hadoop a lot of optimization has been done in namenode data structures to
> be memory efficient. Similar optimizations are necessary for Datanode
> process. With the growth in storage per datanode and number of blocks hosted
> on datanode, this jira intends to optimize long lived ReplicasMap and
> ReplicaInfo objects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira