hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1181524 - /hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
Date Tue, 11 Oct 2011 02:16:37 GMT
Author: nspiegelberg
Date: Tue Oct 11 02:16:37 2011
New Revision: 1181524

URL: http://svn.apache.org/viewvc?rev=1181524&view=rev
Log:
using apache common log in the recoverable zookeeper

Summary:
To keep consistent, using apache common log in the recoverable zookeeper

Test Plan:
tested

Reviewers: kannan, nspiegelberg
CC: hbase@lists,
Differential Revision: 236846

Modified:
    hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java

Modified: hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java?rev=1181524&r1=1181523&r2=1181524&view=diff
==============================================================================
--- hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
(original)
+++ hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
Tue Oct 11 02:16:37 2011
@@ -3,7 +3,8 @@ package org.apache.hadoop.hbase.zookeepe
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.RetryCounter;
 import org.apache.hadoop.hbase.util.RetryCounterFactory;
-import org.apache.log4j.Logger;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.apache.zookeeper.AsyncCallback;
 import org.apache.zookeeper.CreateMode;
 import org.apache.zookeeper.KeeperException;
@@ -46,7 +47,7 @@ import java.util.concurrent.TimeUnit;
  */
 
 public class RecoverableZooKeeper {
-  private static final Logger LOG = Logger.getLogger(RecoverableZooKeeper.class);
+  private static final Log LOG = LogFactory.getLog(RecoverableZooKeeper.class);
   // the actual ZooKeeper client instance
   private ZooKeeper zk;
   private final RetryCounterFactory retryCounterFactory;



Mime
View raw message