Package org.apache.hadoop.hbase.quotas
Class TestSpaceQuotasWithRegionReplicas
java.lang.Object
org.apache.hadoop.hbase.quotas.TestSpaceQuotasWithRegionReplicas
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private SpaceQuotaHelperForTests
private static final org.slf4j.Logger
private static final HBaseTestingUtil
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
setQuotaAndVerifyForRegionReplication
(int region, int replicatedRegion, org.apache.hadoop.hbase.quotas.SpaceViolationPolicy policy) static void
setUp()
static void
tearDown()
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
testName
-
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
-