You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2012/10/20 00:20:12 UTC
[jira] [Created] (HDFS-4092) Update file deletion logic to support
snapshot files
Tsz Wo (Nicholas), SZE created HDFS-4092:
--------------------------------------------
Summary: Update file deletion logic to support snapshot files
Key: HDFS-4092
URL: https://issues.apache.org/jira/browse/HDFS-4092
Project: Hadoop HDFS
Issue Type: Sub-task
Components: name-node
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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
[jira] [Updated] (HDFS-4092) Update file deletion logic to support
snapshot files
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4092:
-----------------------------------------
Attachment: h4092_20121023.patch
h4092_20121023.patch:
If there are more than one inodes in teh circular linked list,
* Remove the current inode from the circular linked list; and
* if some blocks at the end of the block list no longer belongs to any other inode, collect them and update the block list.
> Update file deletion logic to support snapshot files
> ----------------------------------------------------
>
> Key: HDFS-4092
> URL: https://issues.apache.org/jira/browse/HDFS-4092
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4092_20121023.patch
>
>
> When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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
[jira] [Updated] (HDFS-4092) Update file deletion logic to support
snapshot files
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4092:
-----------------------------------------
Attachment: h4092_20121025.patch
> Update file deletion logic to support snapshot files
> ----------------------------------------------------
>
> Key: HDFS-4092
> URL: https://issues.apache.org/jira/browse/HDFS-4092
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4092_20121023.patch, h4092_20121025.patch
>
>
> When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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
[jira] [Resolved] (HDFS-4092) Update file deletion logic to support
snapshot files
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HDFS-4092.
------------------------------------------
Resolution: Fixed
Fix Version/s: Snapshot (HDFS-2802)
Hadoop Flags: Reviewed
I have committed this.
> Update file deletion logic to support snapshot files
> ----------------------------------------------------
>
> Key: HDFS-4092
> URL: https://issues.apache.org/jira/browse/HDFS-4092
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: Snapshot (HDFS-2802)
>
> Attachments: h4092_20121023.patch, h4092_20121025b.patch, h4092_20121025.patch
>
>
> When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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
[jira] [Updated] (HDFS-4092) Update file deletion logic to support
snapshot files
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4092:
-----------------------------------------
Attachment: (was: h4092_20121025.patch)
> Update file deletion logic to support snapshot files
> ----------------------------------------------------
>
> Key: HDFS-4092
> URL: https://issues.apache.org/jira/browse/HDFS-4092
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4092_20121023.patch, h4092_20121025.patch
>
>
> When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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
[jira] [Commented] (HDFS-4092) Update file deletion logic to
support snapshot files
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483376#comment-13483376 ]
Suresh Srinivas commented on HDFS-4092:
---------------------------------------
+1 for the patch. This also has some dependency on HDFS-4107 right and that needs to be committed first?
> Update file deletion logic to support snapshot files
> ----------------------------------------------------
>
> Key: HDFS-4092
> URL: https://issues.apache.org/jira/browse/HDFS-4092
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4092_20121023.patch
>
>
> When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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
[jira] [Updated] (HDFS-4092) Update file deletion logic to support
snapshot files
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4092:
-----------------------------------------
Attachment: h4092_20121025.patch
HDFS-4107 is now committed.
h4092_20121025.patch: synced with the branch.
> Update file deletion logic to support snapshot files
> ----------------------------------------------------
>
> Key: HDFS-4092
> URL: https://issues.apache.org/jira/browse/HDFS-4092
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4092_20121023.patch, h4092_20121025.patch
>
>
> When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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
[jira] [Updated] (HDFS-4092) Update file deletion logic to support
snapshot files
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4092:
-----------------------------------------
Attachment: h4092_20121025b.patch
h4092_20121025b.patch: updates comments
> Update file deletion logic to support snapshot files
> ----------------------------------------------------
>
> Key: HDFS-4092
> URL: https://issues.apache.org/jira/browse/HDFS-4092
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4092_20121023.patch, h4092_20121025b.patch, h4092_20121025.patch
>
>
> When snapshots are created, the blocks are shared among the snapshot files and the original file. Deletion of the snapshot file or the original file does not necessarily lead to deletion of the blocks. The deletion logic needs to be updated.
--
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