hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4141) Directory diff in snapshots
Date Sat, 03 Nov 2012 00:52:12 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489885#comment-13489885

Tsz Wo (Nicholas), SZE commented on HDFS-4141:

Aaron, thanks for the quick response.  Good point.  Let's combine the apply2Previous/apply2Current
and accessPrevious/accessCurrent methods.

> ... how will multiple snapshots of the same directory be handled? My guess is that a
single INodeDirectoryWithSnapshot will itself contain a list of Diffs, one per snapshot where
files are changed in the directory. Is the plan for those diffs to be relative to each other?

Yes, that's correct.
> Directory diff in snapshots
> ---------------------------
>                 Key: HDFS-4141
>                 URL: https://issues.apache.org/jira/browse/HDFS-4141
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h4141_20121101.patch, h4141_20121102b.patch, h4141_20121102.patch
> With snapshots, the same directory could have different states, e.g. different sets of
children, in different snapshots.  We implement a directory diff algorithm in this JIRA.

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

View raw message