From 43112bd472661b4044808210a77ae938a120934f Mon Sep 17 00:00:00 2001 From: swamirishi <47532440+swamirishi@users.noreply.github.com> Date: Mon, 27 Jun 2022 17:20:58 -0700 Subject: [PATCH] HADOOP-18306: Warnings should not be shown on cli console when linux user not present on client (#4474). Contributed by swamirishi. --- .../org/apache/hadoop/security/ShellBasedUnixGroupsMapping.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedUnixGroupsMapping.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedUnixGroupsMapping.java index f4db520ac2..d0c4e11cbe 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedUnixGroupsMapping.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedUnixGroupsMapping.java @@ -215,7 +215,7 @@ private Set getUnixGroups(String user) throws IOException { groups = resolvePartialGroupNames(user, e.getMessage(), executor.getOutput()); } catch (PartialGroupNameException pge) { - LOG.warn("unable to return groups for user {}", user, pge); + LOG.debug("unable to return groups for user {}", user, pge); return EMPTY_GROUPS_SET; } }