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:39:00 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 61b2508f2 -> 55ba5d070


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/55ba5d07
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/55ba5d07
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/55ba5d07

Branch: refs/heads/branch-2
Commit: 55ba5d070754a718709e482470f1d0aafca3bb7d
Parents: 61b2508
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:52 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/55ba5d07/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