[
https://issues.apache.org/jira/browse/HDFS-5464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814527#comment-13814527
]
Tsz Wo (Nicholas), SZE commented on HDFS-5464:
----------------------------------------------
Hi Konstantin,
You may be correct that the new code use more memory, however, I beg you won't
argue that the new code is simpler than the existing code. :)
I will think about how to reduce the memory usage. Thanks for the input.
> Simplify block report diff calculation
> --------------------------------------
>
> Key: HDFS-5464
> URL: https://issues.apache.org/jira/browse/HDFS-5464
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Attachments: h5464_20131105.patch
>
>
> The current calculation in BlockManager.reportDiff(..) is unnecessarily
> complicated. We could simplify the calculation.
--
This message was sent by Atlassian JIRA
(v6.1#6144)