[
https://issues.apache.org/jira/browse/HDFS-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660834#comment-13660834
]
Benoy Antony commented on HDFS-4823:
------------------------------------
Thanks for looking into this , Suresh.
The trunk already has the change to print the full path.
I have ported this patch from trunk . #getFullPathName() is not public in
trunk. So I maintained the same here.
> Inode.toString () should return the full path
> -----------------------------------------------
>
> Key: HDFS-4823
> URL: https://issues.apache.org/jira/browse/HDFS-4823
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 1.1.2
> Reporter: Benoy Antony
> Assignee: Benoy Antony
> Priority: Minor
> Attachments: HDFS-4823.patch
>
>
> Indoe.ToString() is used in many error messages. This gives the name of the
> file / directory, but not the fullpath.
> org.apache.hadoop.security.AccessControlException
> org.apache.hadoop.security.AccessControlException: Permission denied:
> user=user1, access=WRITE, inode="warehouse":user2:supergroup:rwxrwxr-x)
> The fix is to provide the full path n line with Hadoop 2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira