public class TestRegionReplicasWithModifyTable extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
boolean |
disableBeforeModifying |
private static byte[] |
f |
private static HBaseTestingUtility |
HTU |
TableNameTestRule |
name |
private static int |
NB_SERVERS |
| Constructor and Description |
|---|
TestRegionReplicasWithModifyTable() |
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass() |
private void |
assertTotalRegions(int expected) |
static void |
before() |
private void |
enableReplicationByModification(boolean withReplica,
int initialReplicaCount,
int enableReplicaCount,
int splitCount) |
private static byte[][] |
getSplits(int numRegions) |
static List<Object[]> |
params() |
void |
tearDown() |
void |
testRegionReplicasByEnableTableWhenReplicaCountIsDecreased() |
void |
testRegionReplicasByEnableTableWhenReplicaCountIsDecreasedWithMultipleRegions() |
void |
testRegionReplicasByEnableTableWhenReplicaCountIsIncreased() |
void |
testRegionReplicasByEnableTableWhenReplicaCountIsIncreasedWithmultipleRegions() |
void |
testRegionReplicasUsingEnableTable() |
void |
testRegionReplicasUsingEnableTableForMultipleRegions() |
public static final HBaseClassTestRule CLASS_RULE
private static final int NB_SERVERS
private static final HBaseTestingUtility HTU
private static final byte[] f
public boolean disableBeforeModifying
public TableNameTestRule name
public TestRegionReplicasWithModifyTable()
private void enableReplicationByModification(boolean withReplica, int initialReplicaCount, int enableReplicaCount, int splitCount) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprivate static byte[][] getSplits(int numRegions)
public static void afterClass() throws Exception
Exceptionpublic void tearDown() throws IOException
IOExceptionprivate void assertTotalRegions(int expected)
public void testRegionReplicasUsingEnableTable() throws Exception
Exceptionpublic void testRegionReplicasUsingEnableTableForMultipleRegions() throws Exception
Exceptionpublic void testRegionReplicasByEnableTableWhenReplicaCountIsIncreased() throws Exception
Exceptionpublic void testRegionReplicasByEnableTableWhenReplicaCountIsDecreased() throws Exception
Exceptionpublic void testRegionReplicasByEnableTableWhenReplicaCountIsDecreasedWithMultipleRegions() throws Exception
Exceptionpublic void testRegionReplicasByEnableTableWhenReplicaCountIsIncreasedWithmultipleRegions() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.