Skip to content

Commit 5c7185f

Browse files
committed
HADOOP-6717. Log levels in o.a.h.security.Groups too high. Todd Lipcon via jghoman.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937881 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2a7bd02 commit 5c7185f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ Trunk (unreleased changes)
223223
HADOOP-6635. Install/deploy source jars to Maven repo.
224224
(Patrick Angeles via jghoman)
225225

226+
HADOOP-6717. Log levels in o.a.h.security.Groups too high
227+
(Todd Lipcon via jghoman)
228+
226229
OPTIMIZATIONS
227230

228231
HADOOP-6467. Improve the performance on HarFileSystem.listStatus(..).

src/java/org/apache/hadoop/security/Groups.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ public List<String> getGroups(String user) throws IOException {
7373
long now = System.currentTimeMillis();
7474
// if cache has a value and it hasn't expired
7575
if (groups != null && (groups.getTimestamp() + cacheTimeout > now)) {
76-
LOG.info("Returning cached groups for '" + user + "'");
76+
LOG.debug("Returning cached groups for '" + user + "'");
7777
return groups.getGroups();
7878
}
7979

8080
// Create and cache user's groups
8181
groups = new CachedGroups(impl.getGroups(user));
8282
userToGroupsMap.put(user, groups);
83-
LOG.info("Returning fetched groups for '" + user + "'");
83+
LOG.debug("Returning fetched groups for '" + user + "'");
8484
return groups.getGroups();
8585
}
8686

0 commit comments

Comments
 (0)