HBASE-3200 Make is so can disable DEBUG logging on HConnectionImplemenation without losing important messages
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1031767 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b09838d4f4
commit
44eab92141
|
@ -1103,6 +1103,8 @@ Release 0.21.0 - Unreleased
|
||||||
HBASE-3189 Stagger Major Compactions (Nicolas Spiegelberg via Stack)
|
HBASE-3189 Stagger Major Compactions (Nicolas Spiegelberg via Stack)
|
||||||
HBASE-2564 [rest] Tests use deprecated foundation
|
HBASE-2564 [rest] Tests use deprecated foundation
|
||||||
HBASE-2819 hbck should have the ability to repair basic problems
|
HBASE-2819 hbck should have the ability to repair basic problems
|
||||||
|
HBASE-3200 Make is so can disable DEBUG logging on HConnectionImplemenation
|
||||||
|
without losing important messages
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
HBASE-1961 HBase EC2 scripts
|
HBASE-1961 HBase EC2 scripts
|
||||||
|
|
|
@ -48,3 +48,6 @@ log4j.logger.org.apache.hadoop.hbase.zookeeper.ZKUtil=INFO
|
||||||
log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO
|
log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO
|
||||||
#log4j.logger.org.apache.hadoop.dfs=DEBUG
|
#log4j.logger.org.apache.hadoop.dfs=DEBUG
|
||||||
# Set this class to log INFO only otherwise its OTT
|
# Set this class to log INFO only otherwise its OTT
|
||||||
|
|
||||||
|
# Uncomment this if you want to remove logging of client region caching' messages
|
||||||
|
# log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=INFO
|
||||||
|
|
|
@ -876,8 +876,8 @@ public class HConnectionManager {
|
||||||
HRegionLocation rl = getCachedLocation(tableName, row);
|
HRegionLocation rl = getCachedLocation(tableName, row);
|
||||||
if (rl != null) {
|
if (rl != null) {
|
||||||
tableLocations.remove(rl.getRegionInfo().getStartKey());
|
tableLocations.remove(rl.getRegionInfo().getStartKey());
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isInfoEnabled()) {
|
||||||
LOG.debug("Removed " +
|
LOG.info("Removed " +
|
||||||
rl.getRegionInfo().getRegionNameAsString() +
|
rl.getRegionInfo().getRegionNameAsString() +
|
||||||
" for tableName=" + Bytes.toString(tableName) +
|
" for tableName=" + Bytes.toString(tableName) +
|
||||||
" from cache " + "because of " + Bytes.toStringBinary(row));
|
" from cache " + "because of " + Bytes.toStringBinary(row));
|
||||||
|
@ -1075,7 +1075,7 @@ public class HConnectionManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.zooKeeper != null) {
|
if (this.zooKeeper != null) {
|
||||||
LOG.debug("Closed zookeeper sessionid=0x" +
|
LOG.info("Closed zookeeper sessionid=0x" +
|
||||||
Long.toHexString(this.zooKeeper.getZooKeeper().getSessionId()));
|
Long.toHexString(this.zooKeeper.getZooKeeper().getSessionId()));
|
||||||
this.zooKeeper.close();
|
this.zooKeeper.close();
|
||||||
this.zooKeeper = null;
|
this.zooKeeper = null;
|
||||||
|
|
Loading…
Reference in New Issue