Class TestSerialPeerReopenThrottling
java.lang.Object
org.apache.hadoop.hbase.master.replication.TestSerialPeerReopenThrottling
@Tag("org.apache.hadoop.hbase.testclassification.MasterTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestSerialPeerReopenThrottling
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final intprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertReopenedInBatches(Future<Void> peerChange) private static Optional<org.apache.hadoop.hbase.master.procedure.ReopenTableRegionsProcedure>private static org.apache.hadoop.hbase.replication.ReplicationPeerConfigpeerConfig(boolean serial) static voidsetUp()static voidtearDown()voidvoid
-
Field Details
-
UTIL
-
TABLE_NAME
-
CF
-
REGION_COUNT
- See Also:
-
-
Constructor Details
-
TestSerialPeerReopenThrottling
public TestSerialPeerReopenThrottling()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testChangeToSerialReopensRegionsInBatches
- Throws:
Exception
-
testAddSerialPeerReopensRegionsInBatches
- Throws:
Exception
-
peerConfig
-
assertReopenedInBatches
- Throws:
Exception
-
findReopen
private static Optional<org.apache.hadoop.hbase.master.procedure.ReopenTableRegionsProcedure> findReopen()
-