[
https://issues.apache.org/jira/browse/HADOOP-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558892#action_12558892
]
Tsz Wo (Nicholas), SZE commented on HADOOP-2431:
------------------------------------------------
In NameNode, AccessControlException is thrown directly. RPC wraps it as a
RemoteException. So client gets a RemoteException (wrapping
AccessControlException).
The situation is similar for other IOException like "Cannot open filename".
Shell we unwrap "Cannot open filename"? If yes, then it is better to modify
RPC.
> 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.