You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2008/04/18 01:13:21 UTC

[jira] Updated: (HADOOP-3273) Name collision for AccessControlException.

     [ https://issues.apache.org/jira/browse/HADOOP-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko updated HADOOP-3273:
----------------------------------------

          Component/s: dfs
          Description: 
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.

    Affects Version/s: 0.16.0
        Fix Version/s: 0.18.0
              Summary: Name collision for AccessControlException.  (was: AccessControlException)

> Name collision for AccessControlException.
> ------------------------------------------
>
>                 Key: HADOOP-3273
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3273
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.16.0
>            Reporter: Konstantin Shvachko
>             Fix For: 0.18.0
>
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.