From 37ac28ea5b6126bacff5cd7d61daf85311985648 Mon Sep 17 00:00:00 2001 From: tedyu Date: Wed, 6 May 2015 14:39:29 -0700 Subject: [PATCH] HBASE-13626 ZKTableStateManager logs table state changes at WARN (Stephen Jiang) --- .../apache/hadoop/hbase/zookeeper/ZKTableStateManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 064cf832f9d..fb3d7654f6d 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,