From e0bdc87b27a046b217990f1789cfd25c126c6963 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 13 Mar 2018 17:52:44 -0700 Subject: [PATCH] HBASE-20190 Fix default for MIGRATE_TABLE_STATE_FROM_ZK_KEY --- .../java/org/apache/hadoop/hbase/master/TableStateManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java index 8a33de69f00..ce76b056787 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java @@ -270,7 +270,8 @@ public class TableStateManager { */ @Deprecated private void migrateZooKeeper() throws IOException { - if (this.master.getConfiguration().getBoolean(MIGRATE_TABLE_STATE_FROM_ZK_KEY, false)) { + if (!this.master.getConfiguration().getBoolean(MIGRATE_TABLE_STATE_FROM_ZK_KEY, + true)) { return; } try {