hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4666) Disallow users to create file/dir named ".snapshot"
Date Mon, 15 Apr 2013 17:56:16 GMT

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

Jing Zhao commented on HDFS-4666:
---------------------------------

The current patch looks good to me. One issue is that we may also need to check the name in
FSImageFormat#loadINodeWithLocalName (if the new version supports snapshot).
                
> Disallow users to create file/dir named ".snapshot"
> ---------------------------------------------------
>
>                 Key: HDFS-4666
>                 URL: https://issues.apache.org/jira/browse/HDFS-4666
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Jing Zhao
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h4666_20130413b.patch, h4666_20130413.patch
>
>
> Currently ".snapshot" is reserved by snapshots as a special tag to specify the path leading
to snapshot copies. We should disallow users to create file/dir using name ".snapshot".

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