diff --git a/CHANGES.txt b/CHANGES.txt index 064a2b9fb59..01837a6925b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -223,6 +223,9 @@ Trunk (unreleased changes) HADOOP-6635. Install/deploy source jars to Maven repo. (Patrick Angeles via jghoman) + HADOOP-6717. Log levels in o.a.h.security.Groups too high + (Todd Lipcon via jghoman) + OPTIMIZATIONS HADOOP-6467. Improve the performance on HarFileSystem.listStatus(..). diff --git a/src/java/org/apache/hadoop/security/Groups.java b/src/java/org/apache/hadoop/security/Groups.java index 857f0c81f93..1f3c88b9909 100644 --- a/src/java/org/apache/hadoop/security/Groups.java +++ b/src/java/org/apache/hadoop/security/Groups.java @@ -73,14 +73,14 @@ public class Groups { long now = System.currentTimeMillis(); // if cache has a value and it hasn't expired if (groups != null && (groups.getTimestamp() + cacheTimeout > now)) { - LOG.info("Returning cached groups for '" + user + "'"); + LOG.debug("Returning cached groups for '" + user + "'"); return groups.getGroups(); } // Create and cache user's groups groups = new CachedGroups(impl.getGroups(user)); userToGroupsMap.put(user, groups); - LOG.info("Returning fetched groups for '" + user + "'"); + LOG.debug("Returning fetched groups for '" + user + "'"); return groups.getGroups(); }