You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2015/05/06 23:38:50 UTC
hbase git commit: HBASE-13626 ZKTableStateManager logs table state
changes at WARN (Stephen Jiang)
Repository: hbase
Updated Branches:
refs/heads/branch-1 2b56169ad -> 37ac28ea5
HBASE-13626 ZKTableStateManager logs table state changes at WARN (Stephen Jiang)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/37ac28ea
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/37ac28ea
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/37ac28ea
Branch: refs/heads/branch-1
Commit: 37ac28ea5b6126bacff5cd7d61daf85311985648
Parents: 2b56169
Author: tedyu <yu...@gmail.com>
Authored: Wed May 6 14:39:29 2015 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Wed May 6 14:39:29 2015 -0700
----------------------------------------------------------------------
.../org/apache/hadoop/hbase/zookeeper/ZKTableStateManager.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/37ac28ea/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTableStateManager.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTableStateManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTableStateManager.java
index 064cf83..fb3d765 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTableStateManager.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTableStateManager.java
@@ -98,7 +98,7 @@ public class ZKTableStateManager implements TableStateManager {
public void setTableState(TableName tableName, ZooKeeperProtos.Table.State state)
throws CoordinatedStateException {
synchronized (this.cache) {
- LOG.warn("Moving table " + tableName + " state from " + this.cache.get(tableName)
+ LOG.info("Moving table " + tableName + " state from " + this.cache.get(tableName)
+ " to " + state);
try {
setTableStateInZK(tableName, state);
@@ -239,8 +239,7 @@ public class ZKTableStateManager implements TableStateManager {
throws CoordinatedStateException {
synchronized (this.cache) {
if (this.cache.remove(tableName) == null) {
- LOG.warn("Moving table " + tableName + " state to deleted but was " +
- "already deleted");
+ LOG.warn("Moving table " + tableName + " state to deleted but was already deleted");
}
try {
ZKUtil.deleteNodeFailSilent(this.watcher,