瀏覽代碼

HADOOP-18306: Warnings should not be shown on cli console when linux user not present on client (#4474). Contributed by swamirishi.

swamirishi 2 年之前
父節點
當前提交
43112bd472

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedUnixGroupsMapping.java

@@ -215,7 +215,7 @@ public class ShellBasedUnixGroupsMapping extends Configured
           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;
         }
       }