[ https://issues.apache.org/jira/browse/HDFS-5464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814670#comment-13814670 ]
Tsz Wo (Nicholas), SZE commented on HDFS-5464: ---------------------------------------------- h5464_20131105[bc].patch won't work. h5464_20131105.patch works but it uses more memory and longer running time. I agree with Konstantin that the original code is better although it is complicated. I will leave this for awhile and see if I could come up a better solution. > 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, h5464_20131105b.patch, > h5464_20131105c.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)