[ 
https://issues.apache.org/jira/browse/HDFS-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996135#comment-12996135
 ] 

John George commented on HDFS-1628:
-----------------------------------

The following manual tests were run to verify the patch

$ hadoop-common/bin/hadoop fs -get /user/johngeo/dd1 /tmp/a
get: Permission denied: user=yahoo, access=READ, 
inode="/user/johngeo/dd1":johngeo:supergroup:-rw-------

$ hadoop-common/bin/hadoop fs -cat /user/johngeo/dd1 
cat: Permission denied: user=yahoo, access=READ, 
inode="/user/johngeo/dd1":johngeo:supergroup:-rw-------$ bin/hadoop fs -put 
/bin/sh /aaa/dd1/sdfsdf
put: Permission denied: user=yahoo, access=WRITE, 
inode="/":johngeo:supergroup:drwxr-xr-x

$ bin/hadoop fs -put /bin/sh /aaa/dd1/sdfsdf
put: Permission denied: user=yahoo, access=WRITE, 
inode="/aaa":johngeo:supergroup:drwxr-xr-x

$ bin/hadoop fs -mkdir /aaa/aa
mkdir: Permission denied: user=yahoo, access=WRITE, 
inode="/aaa":johngeo:supergroup:drwxr-xr-x


> AccessControlException should display the full path
> ---------------------------------------------------
>
>                 Key: HDFS-1628
>                 URL: https://issues.apache.org/jira/browse/HDFS-1628
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.22.0
>            Reporter: Ramya R
>            Priority: Minor
>         Attachments: HDFS-1628.patch, HDFS-1628.patch
>
>
> org.apache.hadoop.security.AccessControlException should display the full 
> path for which the access is denied. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to