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: {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} -- 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