From bf343da4a445cd9ed1da953e2b24861a5b869846 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Mon, 21 Aug 2017 15:38:15 -0700 Subject: [PATCH] HBASE-18627 Fix TestRegionServerReadRequestMetrics (Chia-Ping Tsai) --- .../hbase/regionserver/TestRegionServerReadRequestMetrics.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.java index 297aa50f715..2cd155977c4 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.java @@ -89,6 +89,8 @@ public class TestRegionServerReadRequestMetrics { @BeforeClass public static void setUpOnce() throws Exception { // Default starts one regionserver only. + TEST_UTIL.getConfiguration().setBoolean(LoadBalancer.TABLES_ON_MASTER, true); + TEST_UTIL.getConfiguration().setBoolean(LoadBalancer.SYSTEM_TABLES_ON_MASTER, true); TEST_UTIL.startMiniCluster(); admin = TEST_UTIL.getAdmin(); serverNames = admin.getClusterStatus().getServers();