[
https://issues.apache.org/jira/browse/HDFS-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632057#comment-13632057
]
Tsz Wo (Nicholas), SZE commented on HDFS-4666:
----------------------------------------------
We need to think carefully about automatic-rename since it may silently break
symlink and other applications. Also, what if the target name is already used
by other file/directory. It may be better to have it as a separated tool. Or
it may be good enough if we add a warning in the release note.
I will throw an exception for the moment. If we need automatic-rename, we
could do it in a separated jira.
> 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,
> h4666_20130415.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