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 2013/04/14 03:02:15 UTC

[jira] [Updated] (HDFS-4666) Disallow users to create file/dir named ".snapshot"

     [ https://issues.apache.org/jira/browse/HDFS-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-4666:
-----------------------------------------

    Attachment: h4666_20130413.patch

h4666_20130413.patch: throws IllegalNameException for ".snapshot".  Also fixes offline image/edit viewer test failures.
                
> 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_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