Class TestMemStoreLAB
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMemStoreLAB
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
static final HBaseClassTestRule
private static final org.apache.hadoop.conf.Configuration
private static final byte[]
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Thread
getChunkQueueTestThread
(org.apache.hadoop.hbase.regionserver.MemStoreLABImpl mslab, String threadName, org.apache.hadoop.hbase.ExtendedCell cellToCopyInto) static void
static void
void
Test cell with right length, which constructed by testForceCopyOfBigCellInto.void
Test frequent chunk retirement with chunk pool triggered by lots of threads, making sure there's no memory leak (HBASE-16195)void
void
Test a bunch of random allocationsvoid
Test allocation from lots of threads, making sure the results don't overlap in any way
-
Field Details
-
CLASS_RULE
-
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)
-