hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-337) Name collision for AccessControlException.
Date Thu, 17 Jul 2014 22:02:05 GMT

     [ 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
> 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

View raw message