[
https://issues.apache.org/jira/browse/HDFS-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651867#comment-13651867
]
Hudson commented on HDFS-4806:
------------------------------
Integrated in Hadoop-Hdfs-Snapshots-Branch-build #177 (See
[https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/177/])
HDFS-4806. In INodeDirectoryWithSnapshot, use isInLatestSnapshot() to
determine if an added/removed child should be recorded in the snapshot diff.
Contributed by Jing Zhao (Revision 1480146)
Result = FAILURE
szetszwo :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1480146
Files :
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-2802.txt
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/snapshot/TestRenameWithSnapshots.java
> For an INodeDirectoryWithSnapshot, use INode#isInLatestSnapshot() to check if
> the added/removed child should be recorded in snapshot diff
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-4806
> URL: https://issues.apache.org/jira/browse/HDFS-4806
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Fix For: Snapshot (HDFS-2802)
>
> Attachments: HDFS-4806.001.patch
>
>
> Before supporting rename with snapshots, when adding/remove a child inode
> to/from a directory, if the directory is already an
> INodeDirectoryWithSnapshot, we can directly record the change in the
> corresponding snapshot diff.
> After support rename with snapshots, an INodeDirectoryWithSnapshot may be a
> renamed node, thus we should use INode#isInLatestSnapshot() to check if we
> should record the change in snapshots.
--
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