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

Harsh J commented on HDFS-6741:
-------------------------------

Failed test appears unrelated. Manual run with patch passes, so the build 
problem was likely intermittent:

{code}Running org.apache.hadoop.hdfs.tools.TestDFSAdminWithHA
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.649 sec - 
in org.apache.hadoop.hdfs.tools.TestDFSAdminWithHA

Results :

Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
{code}

Build console appears truncated somehow for this test:

{code}
Running org.apache.hadoop.hdfs.tools.TestDFSAdminWithHA
estBlockMissingException
{code}

Thank you for the new patch Stephen, sorry again for having duplicated the 
effort. I'll commit this in momentarily.

> Improve permission denied message when FSPermissionChecker#checkOwner fails
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-6741
>                 URL: https://issues.apache.org/jira/browse/HDFS-6741
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.0.0, 2.5.0
>            Reporter: Stephen Chu
>            Assignee: Harsh J
>            Priority: Trivial
>              Labels: supportability
>         Attachments: HDFS-6741.1.patch, HDFS-6741.2.patch, HDFS-6741.2.patch
>
>
> Currently, FSPermissionChecker#checkOwner throws an AccessControlException 
> with a simple "Permission denied" message.
> When users try to set an ACL without ownership permissions, they'll see 
> something like:
> {code}
> [schu@hdfs-vanilla-1 hadoop]$ hdfs dfs -setfacl -m user:schu:--- /tmp
> setfacl: Permission denied
> {code}
> It'd be helpful if the message had an explanation why the permission was 
> denied to avoid confusion for users who aren't familiar with permissions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to