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

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

This tests that permission check failures throw a RemoteException wrapping an 
AccessControlException.  Shouldn't permission check failures throw an 
AccessControlException directly?

DistributedFileSystem or DFSClient should catch the RemoteException and, when 
it wraps an AccessControlException, throw one of those so that client code sees 
that, no?  Should I file a separate issue for this?

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

Reply via email to