You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2010/03/19 18:52:27 UTC

[jira] Created: (HDFS-1048) org.apache.hadoop.security.AccessControlException should show full path on error

org.apache.hadoop.security.AccessControlException should show full path on error
--------------------------------------------------------------------------------

                 Key: HDFS-1048
                 URL: https://issues.apache.org/jira/browse/HDFS-1048
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Allen Wittenauer


The error message generated by org.apache.hadoop.security.AccessControlException is somewhat useless in that it only shows the first directory and not the full path.   For example:

org.apache.hadoop.security.AccessControlException: Permission denied: user=pymk, access=WRITE, inode="_join.temporary":hadoop:hadoop:rwxr-xr-x

Where is this mysterious _join.temporary directory? 

If the full dir path was given, this error would be much more useful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1048) org.apache.hadoop.security.AccessControlException should show full path on error

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847472#action_12847472 ] 

Todd Lipcon commented on HDFS-1048:
-----------------------------------

ah, +1, this is very annoying in the current form.

> org.apache.hadoop.security.AccessControlException should show full path on error
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-1048
>                 URL: https://issues.apache.org/jira/browse/HDFS-1048
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.20.2, 0.21.0, 0.22.0
>            Reporter: Allen Wittenauer
>
> The error message generated by org.apache.hadoop.security.AccessControlException is somewhat useless in that it only shows the first directory and not the full path.   For example:
> org.apache.hadoop.security.AccessControlException: Permission denied: user=pymk, access=WRITE, inode="_join.temporary":hadoop:hadoop:rwxr-xr-x
> Where is this mysterious _join.temporary directory? 
> If the full dir path was given, this error would be much more useful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1048) org.apache.hadoop.security.AccessControlException should show full path on error

Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allen Wittenauer updated HDFS-1048:
-----------------------------------

    Affects Version/s: 0.22.0
                       0.21.0
                       0.20.2

> org.apache.hadoop.security.AccessControlException should show full path on error
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-1048
>                 URL: https://issues.apache.org/jira/browse/HDFS-1048
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.20.2, 0.21.0, 0.22.0
>            Reporter: Allen Wittenauer
>
> The error message generated by org.apache.hadoop.security.AccessControlException is somewhat useless in that it only shows the first directory and not the full path.   For example:
> org.apache.hadoop.security.AccessControlException: Permission denied: user=pymk, access=WRITE, inode="_join.temporary":hadoop:hadoop:rwxr-xr-x
> Where is this mysterious _join.temporary directory? 
> If the full dir path was given, this error would be much more useful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1048) org.apache.hadoop.security.AccessControlException should show full path on error

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847482#action_12847482 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1048:
----------------------------------------------

We probably should also show the group list.

> org.apache.hadoop.security.AccessControlException should show full path on error
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-1048
>                 URL: https://issues.apache.org/jira/browse/HDFS-1048
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 0.20.2, 0.21.0, 0.22.0
>            Reporter: Allen Wittenauer
>
> The error message generated by org.apache.hadoop.security.AccessControlException is somewhat useless in that it only shows the first directory and not the full path.   For example:
> org.apache.hadoop.security.AccessControlException: Permission denied: user=pymk, access=WRITE, inode="_join.temporary":hadoop:hadoop:rwxr-xr-x
> Where is this mysterious _join.temporary directory? 
> If the full dir path was given, this error would be much more useful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.