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:
parent
f49111e5f8
commit
a1c94c0bdf
|
@ -182,11 +182,11 @@ public class RecoverableZooKeeper {
|
||||||
switch (e.code()) {
|
switch (e.code()) {
|
||||||
case NONODE:
|
case NONODE:
|
||||||
if (isRetry) {
|
if (isRetry) {
|
||||||
LOG.info("Node " + path + " already deleted. Assuming a " +
|
LOG.debug("Node " + path + " already deleted. Assuming a " +
|
||||||
"previous attempt succeeded.");
|
"previous attempt succeeded.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LOG.info("Node " + path + " already deleted, retry=" + isRetry);
|
LOG.debug("Node " + path + " already deleted, retry=" + isRetry);
|
||||||
throw e;
|
throw e;
|
||||||
|
|
||||||
case CONNECTIONLOSS:
|
case CONNECTIONLOSS:
|
||||||
|
@ -273,7 +273,7 @@ public class RecoverableZooKeeper {
|
||||||
|
|
||||||
private void retryOrThrow(RetryCounter retryCounter, KeeperException e,
|
private void retryOrThrow(RetryCounter retryCounter, KeeperException e,
|
||||||
String opName) throws KeeperException {
|
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()) {
|
if (!retryCounter.shouldRetry()) {
|
||||||
LOG.error("ZooKeeper " + opName + " failed after "
|
LOG.error("ZooKeeper " + opName + " failed after "
|
||||||
+ retryCounter.getMaxAttempts() + " attempts");
|
+ retryCounter.getMaxAttempts() + " attempts");
|
||||||
|
|
Loading…
Reference in New Issue