Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.2-alpha
-
None
Description
Currently when any application that uses hdfs runs and hits a permissions wall a message similar to the following is emitted.
FAILED: RuntimeException org.apache.hadoop.security.AccessControlException: Permission denied: user=huhlig, access=WRITE, inode="/":hdfs:hadoop:drwxr-xr-x
This provides a bit of information including who, did what and where but not what I tried to do. This makes debugging naughty or misconfigured applications difficult to debug.
A preferable addition to this would follow inode
FAILED: RuntimeException org.apache.hadoop.security.AccessControlException: Permission denied: user=huhlig, access=WRITE, inode="/":hdfs:hadoop:drwxr-xr-x, operation=mkdir:"/new/path/to/make"
This would allow for easier tracing of applications like hive where they may hit odd file system spaces.