[ https://issues.apache.org/jira/browse/HDFS-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632097#comment-13632097 ]
Aaron T. Myers commented on HDFS-4666: -------------------------------------- Sounds fine to me to do it in a separate JIRA if we later decide it's necessary. I think automatic rename with a WARN printed in the log when upgrading is the best option, but this implementation + a release note is fine for now. > 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: editsStored, 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