[ https://issues.apache.org/jira/browse/HDFS-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495487#comment-13495487 ]
Aaron T. Myers commented on HDFS-4148: -------------------------------------- I'm not sure I agree with throwing a SnapshotException in all these cases. I think it makes sense to just throw a normal AccessControlException when an attempt is made to make modifications to an RO snapshot, much as an attempt to modify an RO snapshot in WAFL or ZFS just results in EACCESS. Thoughts? > disallow modification on RO snapshots > -------------------------------------- > > Key: HDFS-4148 > URL: https://issues.apache.org/jira/browse/HDFS-4148 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Affects Versions: Snapshot (HDFS-2802) > Reporter: Brandon Li > Assignee: Brandon Li > Attachments: HDFS-4148.patch, HDFS-4148.patch > > > disallow modification on RO snapshots, including create, append, > setReplication/Permission/Owner, rename, delete, makedir, setQuota/Time, > createSymlink. -- 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