From 46ab08420872dd72a7e1f5c261eadad458bfc357 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 10 Nov 2010 00:19:44 +0000 Subject: [PATCH] HBASE-3212 More testing of enable/disable uncovered base condition not in place; i.e. that only one enable/disable runs at a time git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1033304 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/hadoop/hbase/master/HMaster.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/src/main/java/org/apache/hadoop/hbase/master/HMaster.java index 850a23354ce..83f2127105c 100644 --- a/src/main/java/org/apache/hadoop/hbase/master/HMaster.java +++ b/src/main/java/org/apache/hadoop/hbase/master/HMaster.java @@ -516,8 +516,7 @@ implements HMasterInterface, HMasterRegionInterface, MasterServices, Server { // We depend on there being only one instance of this executor running // at a time. To do concurrency, would need fencing of enable/disable of // tables. - this.executorService.startExecutorService(ExecutorType.MASTER_TABLE_OPERATIONS, - conf.getInt("hbase.master.executor.tableops.threads", 1)); + this.executorService.startExecutorService(ExecutorType.MASTER_TABLE_OPERATIONS, 1); // Put up info server. int port = this.conf.getInt("hbase.master.info.port", 60010);