Class TestCompactionWithThroughputController
java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.TestCompactionWithThroughputController
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final doubleprivate final byte[]private static final org.slf4j.Loggerprivate final byte[]private final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.regionserver.HStoregetStoreWithName(org.apache.hadoop.hbase.TableName tableName) private org.apache.hadoop.hbase.regionserver.HStorevoidprivate longprivate longvoidTest the logic that we calculate compaction pressure for a striped store.voidTest 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
-