Class TestFlushWithThroughputController
java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.TestFlushWithThroughputController
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestFlushWithThroughputController
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateAndFlushData(org.apache.hadoop.hbase.client.Table table) Writes Puts to the table and flushes few times.private org.apache.hadoop.hbase.regionserver.HStoregetStoreWithName(org.apache.hadoop.hbase.TableName tableName) private voidsetMaxMinThroughputs(long max, long min) voidsetUp(org.junit.jupiter.api.TestInfo testInfo) voidtearDown()voidvoidTest the logic for striped store.voidTest the tuning task ofPressureAwareFlushThroughputControllerprivate long
-
Field Details
-
LOG
-
EPSILON
- See Also:
-
hbtu
-
testName
-
tableName
-
family
-
qualifier
-
-
Constructor Details
-
TestFlushWithThroughputController
public TestFlushWithThroughputController()
-
-
Method Details
-
setUp
-
tearDown
- Throws:
Exception
-
getStoreWithName
private org.apache.hadoop.hbase.regionserver.HStore getStoreWithName(org.apache.hadoop.hbase.TableName tableName) -
setMaxMinThroughputs
-
generateAndFlushData
private org.apache.hadoop.hbase.util.Pair<Double,Long> generateAndFlushData(org.apache.hadoop.hbase.client.Table table) throws IOException Writes Puts to the table and flushes few times.- Returns:
Pairof (throughput, duration).- Throws:
IOException
-
testFlushWithThroughputLimit
- Throws:
Exception
-
testFlushControl
- Throws:
Exception
-
testFlushThroughputTuning
Test the tuning task ofPressureAwareFlushThroughputController- Throws:
Exception
-
testFlushControlForStripedStore
Test the logic for striped store.- Throws:
Exception
-