hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4667) Capture renamed files/directories in snapshot diff report
Date Mon, 26 Aug 2013 15:09:51 GMT

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

Binglin Chang commented on HDFS-4667:
-------------------------------------

Here is another unsolved issue in the patch:
When we only rename a dir(without changing its children), sdir.computeDiffBetweenSnapshots
can correctly identify there is no change.
When we rename a file without changing other property, file.getDiffs().changedBetweenSnapshots(earlierSnapshot,laterSnapshot)
will always assume there is a change, this is the original behavior, is it reasonable?

                
> Capture renamed files/directories in snapshot diff report
> ---------------------------------------------------------
>
>                 Key: HDFS-4667
>                 URL: https://issues.apache.org/jira/browse/HDFS-4667
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Jing Zhao
>            Assignee: Binglin Chang
>         Attachments: getfullname-snapshot-support.patch, HDFS-4667.demo.patch, HDFS-4667.v1.patch
>
>
> Currently in the diff report we only show file/dir creation, deletion and modification.
After rename with snapshots is supported, renamed file/dir should also be captured in the
diff report.

--
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

Mime
View raw message