HBASE-9661 Consistent log severity level guards and statements (Jackie Chang)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1526620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0ff371fe05
commit
331b585934
|
@ -307,7 +307,7 @@ public class CatalogTracker {
|
|||
if (waitForMeta(100) != null) break;
|
||||
} catch (NotAllMetaRegionsOnlineException e) {
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.info("hbase:meta still not available, sleeping and retrying." +
|
||||
LOG.trace("hbase:meta still not available, sleeping and retrying." +
|
||||
" Reason: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ public class ZKUtil {
|
|||
int timeout = conf.getInt(HConstants.ZK_SESSION_TIMEOUT,
|
||||
HConstants.DEFAULT_ZK_SESSION_TIMEOUT);
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.debug(identifier + " opening connection to ZooKeeper ensemble=" + ensemble);
|
||||
LOG.trace(identifier + " opening connection to ZooKeeper ensemble=" + ensemble);
|
||||
}
|
||||
int retry = conf.getInt("zookeeper.recovery.retry", 3);
|
||||
int retryIntervalMillis =
|
||||
|
|
Loading…
Reference in New Issue