HDFS-17436. Supplement log information for AccessControlException (#6651)
This commit is contained in:
parent
a375ef8cfa
commit
062836c020
@ -467,6 +467,7 @@ void checkPermission(INode inode, int snapshotId, FsAction access)
|
||||
false);
|
||||
}
|
||||
} catch (AccessControlException ace) {
|
||||
LOG.debug("Error while checking permission: ", ace);
|
||||
throw new AccessControlException(
|
||||
toAccessControlString(nodeAttributes, inode.getFullPathName(),
|
||||
access));
|
||||
|
Loading…
Reference in New Issue
Block a user