[ 
https://issues.apache.org/jira/browse/HDFS-4148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495553#comment-13495553
 ] 

Aaron T. Myers commented on HDFS-4148:
--------------------------------------

bq. Can you give an example why some any application would handle this 
exception?

Well, for example the FSNamesystem currently catches AccessControlException in 
many places so that it can write to its audit log on access control failures. 
It seems reasonable that user programs written on top of HDFS would do 
something similar. The hbck utility in HBase catches AccessControlException in 
a few places to see if it can read/write files it's about to try to repair.
                
>  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

Reply via email to