hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukund Madhugiri (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3273) Name collision for AccessControlException.
Date Sat, 07 Jun 2008 01:26:46 GMT

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

Mukund Madhugiri updated HADOOP-3273:
-------------------------------------

    Fix Version/s:     (was: 0.18.0)

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


Mime
View raw message