Package org.apache.hadoop.hbase.master
Class TestMasterBalancerNPE
java.lang.Object
org.apache.hadoop.hbase.master.TestMasterBalancerNPE
@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestMasterBalancerNPE
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final HBaseTestingUtilprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.TableNamecreateTable(String table) voidsetTestMethod(org.junit.jupiter.api.TestInfo testInfo) voidvoidshutdown()voidThis test is for HBASE-26712, to make the region is unassigned just beforeAssignmentManager.balance(org.apache.hadoop.hbase.master.RegionPlan)is invoked on the region.
-
Field Details
-
TEST_UTIL
-
FAMILYNAME
-
testMethodName
-
-
Constructor Details
-
TestMasterBalancerNPE
public TestMasterBalancerNPE()
-
-
Method Details
-
setTestMethod
-
setupConfiguration
-
shutdown
- Throws:
Exception
-
testBalancerNPE
This test is for HBASE-26712, to make the region is unassigned just beforeAssignmentManager.balance(org.apache.hadoop.hbase.master.RegionPlan)is invoked on the region.- Throws:
Exception
-
createTable
- Throws:
IOException
-