hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1518329 - /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
Date Wed, 28 Aug 2013 19:15:18 GMT
Author: jdcryans
Date: Wed Aug 28 19:15:18 2013
New Revision: 1518329

URL: http://svn.apache.org/r1518329
Log:
HBASE-9313 NamespaceJanitor is spammy when the namespace table moves

Modified:
    hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java

Modified: hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java?rev=1518329&r1=1518328&r2=1518329&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
(original)
+++ hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
Wed Aug 28 19:15:18 2013
@@ -117,8 +117,10 @@ public class RpcRetryingCaller<T> {
         callable.prepare(tries != 0); // if called with false, check table status on ZK
         return callable.call();
       } catch (Throwable t) {
-        LOG.warn("Call exception, tries=" + tries + ", retries=" + retries + ", retryTime="
+
-            (EnvironmentEdgeManager.currentTimeMillis() - this.globalStartTime) + "ms", t);
+        if (LOG.isTraceEnabled()) {
+          LOG.trace("Call exception, tries=" + tries + ", retries=" + retries + ", retryTime="
+
+              (EnvironmentEdgeManager.currentTimeMillis() - this.globalStartTime) + "ms",
t);
+        }
         // translateException throws exception when should not retry: i.e. when request is
bad.
         t = translateException(t);
         callable.throwable(t, retries != 1);



Mime
View raw message