From 062836c020cfee0907d14c36f684f8791b56d691 Mon Sep 17 00:00:00 2001 From: XiaobaoWu <100075720+XbaoWu@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:21:03 +0800 Subject: [PATCH] HDFS-17436. Supplement log information for AccessControlException (#6651) --- .../apache/hadoop/hdfs/server/namenode/FSPermissionChecker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSPermissionChecker.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSPermissionChecker.java index 00b726b928..6ba4bf00b9 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSPermissionChecker.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSPermissionChecker.java @@ -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));