HBASE-13677 changed RecoverableZooKeeper logs about retries from info and warn to debug

Signed-off-by: Sean Busbey <busbey@cloudera.com>
This commit is contained in:
ted malaska 2015-05-18 11:13:53 -04:00 committed by Sean Busbey
parent f49111e5f8
commit a1c94c0bdf
1 changed files with 3 additions and 3 deletions

View File

@ -182,11 +182,11 @@ public class RecoverableZooKeeper {
switch (e.code()) {
case NONODE:
if (isRetry) {
LOG.info("Node " + path + " already deleted. Assuming a " +
LOG.debug("Node " + path + " already deleted. Assuming a " +
"previous attempt succeeded.");
return;
}
LOG.info("Node " + path + " already deleted, retry=" + isRetry);
LOG.debug("Node " + path + " already deleted, retry=" + isRetry);
throw e;
case CONNECTIONLOSS:
@ -273,7 +273,7 @@ public class RecoverableZooKeeper {
private void retryOrThrow(RetryCounter retryCounter, KeeperException e,
String opName) throws KeeperException {
LOG.warn("Possibly transient ZooKeeper, quorum=" + quorumServers + ", exception=" + e);
LOG.debug("Possibly transient ZooKeeper, quorum=" + quorumServers + ", exception=" + e);
if (!retryCounter.shouldRetry()) {
LOG.error("ZooKeeper " + opName + " failed after "
+ retryCounter.getMaxAttempts() + " attempts");