public class TestMemstoreLABWithoutPool extends Object
Modifier and Type | Field and Description |
---|---|
private static byte[] |
cf |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static byte[] |
q |
private static byte[] |
rk |
Constructor and Description |
---|
TestMemstoreLABWithoutPool() |
Modifier and Type | Method and Description |
---|---|
private Thread |
getChunkQueueTestThread(org.apache.hadoop.hbase.regionserver.MemStoreLABImpl mslab,
String threadName,
org.apache.hadoop.hbase.Cell cellToCopyInto) |
static void |
setUpBeforeClass() |
void |
testLABChunkQueueWithMultipleMSLABs()
Test frequent chunk retirement with chunk pool triggered by lots of threads, making sure
there's no memory leak (HBASE-16195)
|
void |
testLABRandomAllocation()
Test a bunch of random allocations
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.apache.hadoop.conf.Configuration conf
private static final byte[] rk
private static final byte[] cf
private static final byte[] q
public TestMemstoreLABWithoutPool()
public static void setUpBeforeClass() throws Exception
Exception
public void testLABRandomAllocation()
public void testLABChunkQueueWithMultipleMSLABs() throws Exception
Exception
- if any error occurredprivate Thread getChunkQueueTestThread(org.apache.hadoop.hbase.regionserver.MemStoreLABImpl mslab, String threadName, org.apache.hadoop.hbase.Cell cellToCopyInto)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.