You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/03/31 00:59:15 UTC
[jira] [Resolved] (HDFS-4648) For snapshot deletion, when merging
the diff from to-delete snapshot to the prior snapshot, make sure
files/directories created after the prior snapshot get deleted
[ https://issues.apache.org/jira/browse/HDFS-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HDFS-4648.
------------------------------------------
Resolution: Fixed
Fix Version/s: Snapshot (HDFS-2802)
I have committed this. Thanks Jing!
> For snapshot deletion, when merging the diff from to-delete snapshot to the prior snapshot, make sure files/directories created after the prior snapshot get deleted
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-4648
> URL: https://issues.apache.org/jira/browse/HDFS-4648
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Fix For: Snapshot (HDFS-2802)
>
> Attachments: HDFS-4648.001.patch
>
>
> When the following steps happen:
> 1. Take snapshot s1 on dir.
> 2. Create new dir and files under subDir, which is descendant of dir.
> 3. Take snapshot s2 on dir.
> 4. Delete subDir.
> 5. Delete snapshot s2.
> When we merge the diff from s2 to s1 (since we deleted s2), we need to make
> sure all the files/dirs created after s1 should be destroyed. Otherwise
> if these files/dirs are saved to the fsimage, we will have FileNotFound Exception while loading fsimage.
--
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