[
https://issues.apache.org/jira/browse/HDFS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer resolved HDFS-337.
-----------------------------------
Resolution: Won't Fix
Closing as won't fix, assuming we haven't already.
> Name collision for AccessControlException.
> ------------------------------------------
>
> Key: HDFS-337
> URL: https://issues.apache.org/jira/browse/HDFS-337
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Konstantin Shvachko
>
> There is a name collision in
> org.apache.hadoop.fs.permission.AccessControlException and
> java.security.AccessControlException.
> Since java.security.AccessControlException is not an IOException we cannot
> throw it directly as we do with FileNotFoundException.
> Therefore, the only choice is to rename the hadoop AccessControlException to
> e.g., PermissionException (or AccessDeniedException).
> To provide compatibility we can inherit PermissionException from
> AccessControlException, and deprecate the latter.
--
This message was sent by Atlassian JIRA
(v6.2#6252)