public class TestCompactionWithThroughputController extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static double |
EPSILON |
private byte[] |
family |
private static org.slf4j.Logger |
LOG |
private byte[] |
qualifier |
private org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestCompactionWithThroughputController() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.regionserver.HStore |
getStoreWithName(org.apache.hadoop.hbase.TableName tableName) |
private org.apache.hadoop.hbase.regionserver.HStore |
prepareData() |
void |
testCompaction() |
private long |
testCompactionWithoutThroughputLimit() |
private long |
testCompactionWithThroughputLimit() |
void |
testGetCompactionPressureForStripedStore()
Test the logic that we calculate compaction pressure for a striped store.
|
void |
testThroughputTuning()
Test the tuning task of
PressureAwareCompactionThroughputController |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
private static final double EPSILON
private final org.apache.hadoop.hbase.TableName tableName
private final byte[] family
private final byte[] qualifier
public TestCompactionWithThroughputController()
private org.apache.hadoop.hbase.regionserver.HStore getStoreWithName(org.apache.hadoop.hbase.TableName tableName)
private org.apache.hadoop.hbase.regionserver.HStore prepareData() throws IOException
IOExceptionprivate long testCompactionWithThroughputLimit() throws Exception
Exceptionprivate long testCompactionWithoutThroughputLimit() throws Exception
Exceptionpublic void testCompaction() throws Exception
Exceptionpublic void testThroughputTuning() throws Exception
PressureAwareCompactionThroughputControllerExceptionpublic void testGetCompactionPressureForStripedStore() throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.