HBASE-9313 NamespaceJanitor is spammy when the namespace table moves
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1518332 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
695c6269fc
commit
39f7dc4ca3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue