Class TestCompactionWithThroughputController
java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.TestCompactionWithThroughputController
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final double
private final byte[]
private static final org.slf4j.Logger
private final byte[]
private final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HStore
getStoreWithName
(org.apache.hadoop.hbase.TableName tableName) private org.apache.hadoop.hbase.regionserver.HStore
void
private long
private long
void
Test the logic that we calculate compaction pressure for a striped store.void
Test the tuning task ofPressureAwareCompactionThroughputController
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
EPSILON
- See Also:
-
tableName
-
family
-
qualifier
-
-
Constructor Details
-
TestCompactionWithThroughputController
-
-
Method Details
-
getStoreWithName
private org.apache.hadoop.hbase.regionserver.HStore getStoreWithName(org.apache.hadoop.hbase.TableName tableName) -
prepareData
- Throws:
IOException
-
testCompactionWithThroughputLimit
- Throws:
Exception
-
testCompactionWithoutThroughputLimit
- Throws:
Exception
-
testCompaction
- Throws:
Exception
-
testThroughputTuning
Test the tuning task ofPressureAwareCompactionThroughputController
- Throws:
Exception
-
testGetCompactionPressureForStripedStore
Test the logic that we calculate compaction pressure for a striped store.- Throws:
Exception
-