[ https://issues.apache.org/jira/browse/HDFS-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J updated HDFS-2750: -------------------------- Description: Right now, we get messages like: bq. {{org.apache.hadoop.security.AccessControlException: Permission denied: user=admin, access=WRITE, inode="/user/beeswax/warehouse":hue:hive:drwxrwxr-x)}} I feel we can further humanize such strings, to perhaps read like (just an example, looking for your comments as well): bq. {{org.apache.hadoop.security.AccessControlException: Permission denied for WRITE access for user 'admin' on path "/user/beeswax/warehouse" (hue:hive drwxrwxr-x).}} was: Right now, we get messages like: {noformat} org.apache.hadoop.security.AccessControlException: Permission denied: user=admin, access=WRITE, inode="/user/beeswax/warehouse":hue:hive:drwxrwxr-x) {noformat} I feel we can further humanize such strings, to perhaps read like (just an example, looking for your comments as well): {noformat} org.apache.hadoop.security.AccessControlException: Permission denied for WRITE access for user 'admin' on path "/user/beeswax/warehouse" (hue:hive drwxrwxr-x). {noformat} Or even: bq. {{Permission denied to user 'admin' on path "/user/beeswax/warehouse" (hue:hive drwxrwxr-x) for WRITE access.}} > Humanize AccessControlException messages thrown from HDFS > --------------------------------------------------------- > > Key: HDFS-2750 > URL: https://issues.apache.org/jira/browse/HDFS-2750 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Reporter: Harsh J > Priority: Minor > > Right now, we get messages like: > bq. {{org.apache.hadoop.security.AccessControlException: Permission denied: > user=admin, access=WRITE, > inode="/user/beeswax/warehouse":hue:hive:drwxrwxr-x)}} > I feel we can further humanize such strings, to perhaps read like (just an > example, looking for your comments as well): > bq. {{org.apache.hadoop.security.AccessControlException: Permission denied > for WRITE access for user 'admin' on path "/user/beeswax/warehouse" (hue:hive > drwxrwxr-x).}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira