Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.0.0-alpha
-
Reviewed
Description
This came up during the discussion on a forum at http://community.cloudera.com/t5/Batch-Processing-and-Workflow/Permission-denied-access-EXECUTE-on-getting-the-status-of-a-file/m-p/5049#M162 surrounding an fs.exists(…) check running on a path /foo/bar, where /foo is a file and not a directory.
In such a case, NameNode yields a user-confusing message of Permission denied: user=foo, access=EXECUTE, inode="/foo":foo:foo:rw-rr- instead of clearly saying (and realising) "/foo is not a directory" or "/foo is a file" before it tries to traverse further down to locate the requested path.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-10276 HDFS should not expose path info that user has no permission to see.
- Resolved