public class TestMasterBalancerNPE extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILYNAME |
org.junit.rules.TestName |
name |
private static HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestMasterBalancerNPE() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.TableName |
createTable(String table) |
void |
setupConfiguration() |
void |
shutdown() |
void |
testBalancerNPE()
This test is for HBASE-26712, to make the region is unassigned just before
AssignmentManager.balance(org.apache.hadoop.hbase.master.RegionPlan) is invoked on the region. |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil TEST_UTIL
private static final byte[] FAMILYNAME
public org.junit.rules.TestName name
public TestMasterBalancerNPE()
public void setupConfiguration()
public void testBalancerNPE() throws Exception
AssignmentManager.balance(org.apache.hadoop.hbase.master.RegionPlan)
is invoked on the region.Exception
private org.apache.hadoop.hbase.TableName createTable(String table) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.