Class TestMemStoreLAB
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMemStoreLAB
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestMemStoreLAB
extends Object
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ThreadgetChunkQueueTestThread(org.apache.hadoop.hbase.regionserver.MemStoreLABImpl mslab, String threadName, org.apache.hadoop.hbase.ExtendedCell cellToCopyInto) static voidstatic voidvoidTest cell with right length, which constructed by testForceCopyOfBigCellInto.voidTest frequent chunk retirement with chunk pool triggered by lots of threads, making sure there's no memory leak (HBASE-16195)voidvoidTest a bunch of random allocationsvoidTest allocation from lots of threads, making sure the results don't overlap in any way
-
Field Details
-
conf
-
rk
-
cf
-
q
-
-
Constructor Details
-
TestMemStoreLAB
public TestMemStoreLAB()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testLABRandomAllocation
Test a bunch of random allocations -
testLABLargeAllocation
-
testLABThreading
Test allocation from lots of threads, making sure the results don't overlap in any way- Throws:
Exception
-
testLABChunkQueue
Test frequent chunk retirement with chunk pool triggered by lots of threads, making sure there's no memory leak (HBASE-16195)- Throws:
Exception- if any error occurred
-
testForceCopyOfBigCellInto
Test cell with right length, which constructed by testForceCopyOfBigCellInto. (HBASE-26467) -
getChunkQueueTestThread
private Thread getChunkQueueTestThread(org.apache.hadoop.hbase.regionserver.MemStoreLABImpl mslab, String threadName, org.apache.hadoop.hbase.ExtendedCell cellToCopyInto)
-