Class TestRegionReplicasWithModifyTable
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRegionReplicasWithModifyTable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRulebooleanprivate static final byte[]private static final HBaseTestingUtilprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate voidassertTotalRegions(int expected) static voidbefore()private voidenableReplicationByModification(boolean withReplica, int initialReplicaCount, int enableReplicaCount, int splitCount) private static byte[][]getSplits(int numRegions) params()voidtearDown()voidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
NB_SERVERS
- See Also:
-
HTU
-
f
-
disableBeforeModifying
-
name
-
-
Constructor Details
-
TestRegionReplicasWithModifyTable
public TestRegionReplicasWithModifyTable()
-
-
Method Details
-
params
-
before
- Throws:
Exception
-
enableReplicationByModification
private void enableReplicationByModification(boolean withReplica, int initialReplicaCount, int enableReplicaCount, int splitCount) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
getSplits
-
afterClass
- Throws:
Exception
-
tearDown
- Throws:
IOException
-
assertTotalRegions
-
testRegionReplicasUsingEnableTable
- Throws:
Exception
-
testRegionReplicasUsingEnableTableForMultipleRegions
- Throws:
Exception
-
testRegionReplicasByEnableTableWhenReplicaCountIsIncreased
- Throws:
Exception
-
testRegionReplicasByEnableTableWhenReplicaCountIsDecreased
- Throws:
Exception
-
testRegionReplicasByEnableTableWhenReplicaCountIsDecreasedWithMultipleRegions
public void testRegionReplicasByEnableTableWhenReplicaCountIsDecreasedWithMultipleRegions() throws Exception- Throws:
Exception
-
testRegionReplicasByEnableTableWhenReplicaCountIsIncreasedWithMultipleRegions
public void testRegionReplicasByEnableTableWhenReplicaCountIsIncreasedWithMultipleRegions() throws Exception- Throws:
Exception
-