hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-18627 Fix TestRegionServerReadRequestMetrics (Chia-Ping Tsai)
Date Mon, 21 Aug 2017 22:38:24 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 078a6be7d -> bf343da4a


HBASE-18627 Fix TestRegionServerReadRequestMetrics (Chia-Ping Tsai)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bf343da4
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bf343da4
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bf343da4

Branch: refs/heads/master
Commit: bf343da4a445cd9ed1da953e2b24861a5b869846
Parents: 078a6be
Author: Michael Stack <stack@apache.org>
Authored: Mon Aug 21 15:38:15 2017 -0700
Committer: Michael Stack <stack@apache.org>
Committed: Mon Aug 21 15:38:15 2017 -0700

----------------------------------------------------------------------
 .../hbase/regionserver/TestRegionServerReadRequestMetrics.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/bf343da4/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerReadRequestMetrics.java
----------------------------------------------------------------------
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 297aa50..2cd1559 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();


Mime
View raw message