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

Uma Maheswara Rao G commented on HDFS-15480:
--------------------------------------------

{quote}
String SNAPSHOT_XATTR_NAME = "snapshot";
{quote}
Xattr name must be prefixed with the name space type. Here you will use that 
for system only. Please prefix with system.
For consistency, you may want to name it as "system.hdfs.snapshot" or 
"system.hdfs.snapshots.to.delete". ?

> Ordered snapshot deletion: record snapshot deletion in XAttr
> ------------------------------------------------------------
>
>                 Key: HDFS-15480
>                 URL: https://issues.apache.org/jira/browse/HDFS-15480
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: snapshots
>            Reporter: Tsz-wo Sze
>            Assignee: Shashikant Banerjee
>            Priority: Major
>         Attachments: HDFS-15480.000.patch, HDFS-15480.001.patch
>
>
> In this JIRA, the behavior of deleting the non-earliest snapshots will be 
> changed to marking them as deleted in XAttr but not actually deleting them.  
> Note that
> # The marked-for-deletion snapshots will be garbage collected later on; see 
> HDFS-15481.
> # The marked-for-deletion snapshots will be hided from users; see HDFS-15482.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to