Package org.apache.hadoop.hbase.quotas
Class TestDefaultOperationQuota
java.lang.Object
org.apache.hadoop.hbase.quotas.TestDefaultOperationQuota
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestDefaultOperationQuota
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.hadoop.conf.Configurationprivate static final intprivate static org.apache.hadoop.hbase.util.ManualEnvironmentEdge -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
conf
-
DEFAULT_REQUESTS_PER_SECOND
- See Also:
-
envEdge
-
-
Constructor Details
-
TestDefaultOperationQuota
public TestDefaultOperationQuota()
-
-
Method Details
-
testScanEstimateNewScanner
-
testScanEstimateSecondNextCall
-
testScanEstimateFlatWorkload
-
testScanEstimateVariableFlatWorkload
-
testScanEstimateGrowingWorkload
-
testScanEstimateShrinkingWorkload
-
testLargeBatchSaturatesReadNumLimit
@Test public void testLargeBatchSaturatesReadNumLimit() throws org.apache.hadoop.hbase.quotas.RpcThrottlingException, InterruptedException- Throws:
org.apache.hadoop.hbase.quotas.RpcThrottlingExceptionInterruptedException
-
testLargeBatchSaturatesReadWriteLimit
@Test public void testLargeBatchSaturatesReadWriteLimit() throws org.apache.hadoop.hbase.quotas.RpcThrottlingException, InterruptedException- Throws:
org.apache.hadoop.hbase.quotas.RpcThrottlingExceptionInterruptedException
-
testTooLargeReadBatchIsNotBlocked
@Test public void testTooLargeReadBatchIsNotBlocked() throws org.apache.hadoop.hbase.quotas.RpcThrottlingException, InterruptedException- Throws:
org.apache.hadoop.hbase.quotas.RpcThrottlingExceptionInterruptedException
-
testTooLargeWriteBatchIsNotBlocked
@Test public void testTooLargeWriteBatchIsNotBlocked() throws org.apache.hadoop.hbase.quotas.RpcThrottlingException, InterruptedException- Throws:
org.apache.hadoop.hbase.quotas.RpcThrottlingExceptionInterruptedException
-
testTooLargeWriteSizeIsNotBlocked
@Test public void testTooLargeWriteSizeIsNotBlocked() throws org.apache.hadoop.hbase.quotas.RpcThrottlingException, InterruptedException- Throws:
org.apache.hadoop.hbase.quotas.RpcThrottlingExceptionInterruptedException
-
testTooLargeReadSizeIsNotBlocked
@Test public void testTooLargeReadSizeIsNotBlocked() throws org.apache.hadoop.hbase.quotas.RpcThrottlingException, InterruptedException- Throws:
org.apache.hadoop.hbase.quotas.RpcThrottlingExceptionInterruptedException
-
testTooLargeRequestSizeIsNotBlocked
@Test public void testTooLargeRequestSizeIsNotBlocked() throws org.apache.hadoop.hbase.quotas.RpcThrottlingException, InterruptedException- Throws:
org.apache.hadoop.hbase.quotas.RpcThrottlingExceptionInterruptedException
-