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
IOException
private long testCompactionWithThroughputLimit() throws Exception
Exception
private long testCompactionWithoutThroughputLimit() throws Exception
Exception
public void testCompaction() throws Exception
Exception
public void testThroughputTuning() throws Exception
PressureAwareCompactionThroughputController
Exception
public void testGetCompactionPressureForStripedStore() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.