HBASE-23809 Addendum remove rs group code in AbstractTestShell

This commit is contained in:
Duo Zhang 2020-02-08 22:18:26 +08:00
parent 546828685e
commit 4479cb2313
1 changed files with 0 additions and 9 deletions

View File

@ -24,8 +24,6 @@ import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseTestingUtility; import org.apache.hadoop.hbase.HBaseTestingUtility;
import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; 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.access.SecureTestUtil;
import org.apache.hadoop.hbase.security.visibility.VisibilityTestUtil; import org.apache.hadoop.hbase.security.visibility.VisibilityTestUtil;
import org.jruby.embed.ScriptingContainer; import org.jruby.embed.ScriptingContainer;
@ -71,13 +69,6 @@ public abstract class AbstractTestShell {
public static void setUpBeforeClass() throws Exception { public static void setUpBeforeClass() throws Exception {
setUpConfig(); 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 // Start mini cluster
TEST_UTIL.startMiniCluster(1); TEST_UTIL.startMiniCluster(1);