incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1205416 - /incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Date Wed, 23 Nov 2011 14:35:14 GMT
Author: ecn
Date: Wed Nov 23 14:35:13 2011
New Revision: 1205416

URL: http://svn.apache.org/viewvc?rev=1205416&view=rev
Log:
ACCUMULO-169 reduce the debug logging when setting the ACLs in zookeeper

Modified:
    incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java

Modified: incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java?rev=1205416&r1=1205415&r2=1205416&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
(original)
+++ incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Wed Nov 23 14:35:13 2011
@@ -351,13 +351,10 @@ public class Master implements LiveTServ
   private void setACLs(IZooReaderWriter zoo, String root, String users) throws Exception
{
     Stat stat = new Stat();
     List<ACL> acls = zoo.getZooKeeper().getACL(root, stat);
-    log.debug("Got acl " + acls + " for " + root);
     if (acls.equals(ZooDefs.Ids.OPEN_ACL_UNSAFE)) {
       if (root.startsWith(users)) {
-        log.debug("Setting " + root + " to private");
         zoo.getZooKeeper().setACL(root, ZooUtil.PRIVATE, -1);
       } else {
-        log.debug("Setting " + root + " to public");
         zoo.getZooKeeper().setACL(root, ZooUtil.PUBLIC, -1);
       }
       for (String child : zoo.getChildren(root)) {



Mime
View raw message