Package org.apache.hadoop.hbase.quotas
Class TestSpaceQuotasWithRegionReplicas
java.lang.Object
org.apache.hadoop.hbase.quotas.TestSpaceQuotasWithRegionReplicas
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestSpaceQuotasWithRegionReplicas
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SpaceQuotaHelperForTestsprivate static final org.slf4j.Loggerprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidremoveAllQuotas(org.junit.jupiter.api.TestInfo testInfo) private voidsetQuotaAndVerifyForRegionReplication(int region, int replicatedRegion, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy) static voidsetUp()static voidtearDown()voidvoidvoidvoid
-
Field Details
-
LOG
-
TEST_UTIL
-
helper
-
-
Constructor Details
-
TestSpaceQuotasWithRegionReplicas
public TestSpaceQuotasWithRegionReplicas()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
removeAllQuotas
- Throws:
Exception
-
testSetQuotaWithRegionReplicaSingleRegion
- Throws:
Exception
-
testSetQuotaWithRegionReplicaMultipleRegion
- Throws:
Exception
-
testSetQuotaWithSingleRegionZeroRegionReplica
- Throws:
Exception
-
testSetQuotaWithMultipleRegionZeroRegionReplicas
- Throws:
Exception
-
setQuotaAndVerifyForRegionReplication
private void setQuotaAndVerifyForRegionReplication(int region, int replicatedRegion, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy) throws Exception - Throws:
Exception
-