public class TestWalAndCompactingMemStoreFlush extends Object
Modifier and Type | Class and Description |
---|---|
private class |
TestWalAndCompactingMemStoreFlush.ConcurrentPutRunnable
The in-memory-flusher thread performs the flush asynchronously.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private static org.apache.hadoop.fs.Path |
DIR |
static byte[][] |
FAMILIES |
static byte[] |
FAMILY1 |
static byte[] |
FAMILY2 |
static byte[] |
FAMILY3 |
static org.apache.hadoop.hbase.TableName |
TABLENAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestWalAndCompactingMemStoreFlush() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.client.Put |
createDoublePut(int familyNum,
int putNum) |
private org.apache.hadoop.hbase.client.Put |
createPut(int familyNum,
int putNum) |
private org.apache.hadoop.hbase.wal.WAL |
getWAL(org.apache.hadoop.hbase.regionserver.Region region) |
private org.apache.hadoop.hbase.regionserver.HRegion |
initHRegion(String callingMethod,
org.apache.hadoop.conf.Configuration conf) |
void |
setup() |
void |
testSelectiveFlushAndWALinDataCompaction() |
void |
testSelectiveFlushWithBasicAndMerge() |
void |
testSelectiveFlushWithEager() |
void |
testSelectiveFlushWithIndexCompaction() |
void |
testStressFlushAndWALinIndexCompaction() |
private void |
verifyInMemoryFlushSize(org.apache.hadoop.hbase.regionserver.Region region) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.fs.Path DIR
public static final org.apache.hadoop.hbase.TableName TABLENAME
public static final byte[][] FAMILIES
public static final byte[] FAMILY1
public static final byte[] FAMILY2
public static final byte[] FAMILY3
private org.apache.hadoop.conf.Configuration conf
public TestWalAndCompactingMemStoreFlush()
private org.apache.hadoop.hbase.regionserver.HRegion initHRegion(String callingMethod, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
private org.apache.hadoop.hbase.client.Put createPut(int familyNum, int putNum)
private org.apache.hadoop.hbase.client.Put createDoublePut(int familyNum, int putNum)
private void verifyInMemoryFlushSize(org.apache.hadoop.hbase.regionserver.Region region)
public void setup()
public void testSelectiveFlushWithEager() throws IOException
IOException
public void testSelectiveFlushWithIndexCompaction() throws IOException
IOException
public void testSelectiveFlushAndWALinDataCompaction() throws IOException
IOException
public void testSelectiveFlushWithBasicAndMerge() throws IOException
IOException
public void testStressFlushAndWALinIndexCompaction() throws IOException
IOException
private org.apache.hadoop.hbase.wal.WAL getWAL(org.apache.hadoop.hbase.regionserver.Region region)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.