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
IOException
InterruptedException
private static byte[][] getSplits(int numRegions)
public static void afterClass() throws Exception
Exception
public void tearDown() throws IOException
IOException
private void assertTotalRegions(int expected)
public void testRegionReplicasUsingEnableTable() throws Exception
Exception
public void testRegionReplicasUsingEnableTableForMultipleRegions() throws Exception
Exception
public void testRegionReplicasByEnableTableWhenReplicaCountIsIncreased() throws Exception
Exception
public void testRegionReplicasByEnableTableWhenReplicaCountIsDecreased() throws Exception
Exception
public void testRegionReplicasByEnableTableWhenReplicaCountIsDecreasedWithMultipleRegions() throws Exception
Exception
public void testRegionReplicasByEnableTableWhenReplicaCountIsIncreasedWithmultipleRegions() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.