hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2431) Test HDFS File Permissions
Date Tue, 15 Jan 2008 17:55:36 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559146#action_12559146
] 

Doug Cutting commented on HADOOP-2431:
--------------------------------------

Perhaps if the exception named in the RemoteException is a class that's loaded on the client
and is permitted by the method signature, then RPC should automatically try to construct an
instance and throw it.  But that's not what RPC does today.  If you feel it should do this,
please file a separate issue.

The FileSystem API promises that applications which attempt to violate permissions will be
thrown an AccessControlException.  Today, until RPC is changed, we must intercept RemoteException
and explicitly throw an AccessControlException.  The fact that a particular FileSystem is
implemented using RPC should be invisible to clients.

> Test HDFS File Permissions
> --------------------------
>
>                 Key: HADOOP-2431
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2431
>             Project: Hadoop
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.15.1
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.16.0
>
>         Attachments: HDFSPermissionSpecification6.pdf, PermissionsTestPlan1.pdf, testDFSPermission.patch,
testDFSPermission1.patch
>
>
> This jira is intended to provide junit tests to HADOOP-1298.

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