You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2014/07/15 23:07:05 UTC

[jira] [Updated] (HDFS-5464) Simplify block report diff calculation

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

Tsz Wo Nicholas Sze updated HDFS-5464:
--------------------------------------

    Attachment: h5464_20140715.patch

Some new idea inspired by HDFS-6658.

h5464_20140715.patch: marks visited blocks by setting length n to (-n-1).

> 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, h5464_20140715.patch
>
>
> The current calculation in BlockManager.reportDiff(..) is unnecessarily complicated.  We could simplify the calculation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)