You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/02/08 14:55:51 UTC

[hbase] branch master updated: HBASE-23809 Addendum remove rs group code in AbstractTestShell

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 4479cb2  HBASE-23809 Addendum remove rs group code in AbstractTestShell
4479cb2 is described below

commit 4479cb2313c94e4e142dafd1dbbc0e648ab751bf
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Sat Feb 8 22:18:26 2020 +0800

    HBASE-23809 Addendum remove rs group code in AbstractTestShell
---
 .../java/org/apache/hadoop/hbase/client/AbstractTestShell.java   | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
index b3f3ab9..1988c03 100644
--- a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
+++ b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/AbstractTestShell.java
@@ -24,8 +24,6 @@ import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseTestingUtility;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.coprocessor.CoprocessorHost;
-import org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint;
-import org.apache.hadoop.hbase.rsgroup.RSGroupBasedLoadBalancer;
 import org.apache.hadoop.hbase.security.access.SecureTestUtil;
 import org.apache.hadoop.hbase.security.visibility.VisibilityTestUtil;
 import org.jruby.embed.ScriptingContainer;
@@ -71,13 +69,6 @@ public abstract class AbstractTestShell {
   public static void setUpBeforeClass() throws Exception {
     setUpConfig();
 
-    // enable rs group
-    TEST_UTIL.getConfiguration().set(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY,
-      TEST_UTIL.getConfiguration().get(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY) + "," +
-        RSGroupAdminEndpoint.class.getName());
-    TEST_UTIL.getConfiguration().set(HConstants.HBASE_MASTER_LOADBALANCER_CLASS,
-      RSGroupBasedLoadBalancer.class.getName());
-
     // Start mini cluster
     TEST_UTIL.startMiniCluster(1);