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);
|
false);
|
||||||
}
|
}
|
||||||
} catch (AccessControlException ace) {
|
} catch (AccessControlException ace) {
|
||||||
|
LOG.debug("Error while checking permission: ", ace);
|
||||||
throw new AccessControlException(
|
throw new AccessControlException(
|
||||||
toAccessControlString(nodeAttributes, inode.getFullPathName(),
|
toAccessControlString(nodeAttributes, inode.getFullPathName(),
|
||||||
access));
|
access));
|
||||||
|
Loading…
Reference in New Issue
Block a user