[
https://issues.apache.org/jira/browse/HDFS-13227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385992#comment-16385992
]
Shashikant Banerjee commented on HDFS-13227:
--------------------------------------------
Patch v1 introduces an method called
DirectoryWithSnapshotFeature#DirectoryDiffList#getDiffListBetweenSnapshots to
generate minimal list of diffs needed to combine the overall cumulative diff
between two snapshots. DirectoryWithSnapshotFeature#getChildrenList and
DirectoryWithSnapshotFeature#computeDiffBetweenSnapshots have been modified
accordingly.
> Add a method to calculate cumulative diff over multiple snapshots in
> DirectoryDiffList
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-13227
> URL: https://issues.apache.org/jira/browse/HDFS-13227
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: snapshots
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Major
> Attachments: HDFS-13227.001.patch
>
>
> This Jira proposes to add an API in DirectoryWithSnapshotFeature#f
> DirectoryDiffList which will return minimal list of diffs needed to combine
> to get the cumulative diff between two given snapshots. The same method will
> be made use while constructing the childrenList for a directory.
> DirectoryWithSnapshotFeature#getChildrenList and
> DirectoryWithSnapshotFeature#computeDiffBetweenSnapshots will make use of the
> same method to get the cumulative diff. When snapshotSkipList, with minimal
> set of diffs to combine in order to get the cumulative diff, the overall
> computation will be faster.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]