Class TestRegionReplicasWithModifyTable
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRegionReplicasWithModifyTable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
boolean
private static final byte[]
private static final HBaseTestingUtil
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
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) params()
void
tearDown()
void
void
void
void
void
void
-
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:
IOException
InterruptedException
-
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
-