[ https://issues.apache.org/jira/browse/HDFS-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642244#comment-13642244 ]
Tsz Wo (Nicholas), SZE commented on HDFS-4758: ---------------------------------------------- For your first example, we may set snapshottable for all users. Then taking snapshots of /user can be done by taking snapshots for all user dirs. For root, I think we should not encourage taking snapshots since all the tmp files will sit in a snapshot forever. Instead, we should encourage taking sanpshots in subdirectories. It seems that nested snapshottable directories bring only a little convenience with a lot of inefficiencies. What do you think? > Disallow nested snapshottable directories > ----------------------------------------- > > Key: HDFS-4758 > URL: https://issues.apache.org/jira/browse/HDFS-4758 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > > Nested snapshottable directories are supported by the current implementation. > However, it seems that there are no good use cases for nested snapshottable > directories. So we disable it for now until someone has a valid use case for > it. -- 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