hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077303 - /hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/Groups.java
Date Fri, 04 Mar 2011 04:01:31 GMT
Author: omalley
Date: Fri Mar  4 04:01:31 2011
New Revision: 1077303

URL: http://svn.apache.org/viewvc?rev=1077303&view=rev
Log:
commit 0e75761d2b11303f750d83aa438cc1149c49ad62
Author: Boris Shkolnik <borya@yahoo-inc.com>
Date:   Tue Mar 9 17:07:36 2010 -0800

    HADOOP:6598 from https://issues.apache.org/jira/secure/attachment/12438059/HADOOP-6598-BP20.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    HADOOP-6598. Remove verbose logging from the Groups class. (borya)

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/Groups.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/Groups.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/Groups.java?rev=1077303&r1=1077302&r2=1077303&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/Groups.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/Groups.java
Fri Mar  4 04:01:31 2011
@@ -55,7 +55,8 @@ public class Groups {
     cacheTimeout = 
       conf.getLong("hadoop.security.groups.cache.secs", 5*60) * 1000;
     
-    LOG.info("Group mapping impl=" + impl.getClass().getName() + 
+    if(LOG.isDebugEnabled())
+      LOG.debug("Group mapping impl=" + impl.getClass().getName() + 
         "; cacheTimeout=" + cacheTimeout);
   }
   
@@ -77,7 +78,7 @@ public class Groups {
     // 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();
   }
   



Mime
View raw message