Harsh J created HADOOP-11224: -------------------------------- Summary: Improve error messages for all permission related failures Key: HADOOP-11224 URL: https://issues.apache.org/jira/browse/HADOOP-11224 Project: Hadoop Common Issue Type: Bug Components: fs Affects Versions: 2.2.0 Reporter: Harsh J Priority: Trivial
If a bad file create request fails, you get a juicy error self-describing the reason almost: {code}Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=root, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x{code} However, if a setPermission fails, one only gets a vague: {code}Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied{code} It would be nicer if all forms of permission failures logged the accessed inode and current ownership and permissions in the same way. -- This message was sent by Atlassian JIRA (v6.3.4#6332)