From 5075d7dbde8be998e22cae1e895e61c52318658b Mon Sep 17 00:00:00 2001 From: Jakob Homan Date: Sun, 25 Apr 2010 21:23:30 +0000 Subject: [PATCH] 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 --- CHANGES.txt | 3 +++ src/java/org/apache/hadoop/security/Groups.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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(); }