Class TestWalAndCompactingMemStoreFlush
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestWalAndCompactingMemStoreFlush
This test verifies the correctness of the Per Column Family flushing strategy when part of the
memstores are compacted memstores
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
The in-memory-flusher thread performs the flush asynchronously. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private static final org.apache.hadoop.fs.Path
static final byte[][]
static final byte[]
static final byte[]
static final byte[]
static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
void
void
void
void
private void
verifyInMemoryFlushSize
(org.apache.hadoop.hbase.regionserver.Region region)
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
DIR
-
TABLENAME
-
FAMILIES
-
FAMILY1
-
FAMILY2
-
FAMILY3
-
conf
-
-
Constructor Details
-
TestWalAndCompactingMemStoreFlush
public TestWalAndCompactingMemStoreFlush()
-
-
Method Details
-
initHRegion
private org.apache.hadoop.hbase.regionserver.HRegion initHRegion(String callingMethod, org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
createPut
-
createDoublePut
-
verifyInMemoryFlushSize
-
setup
-
testSelectiveFlushWithEager
- Throws:
IOException
-
testSelectiveFlushWithIndexCompaction
- Throws:
IOException
-
testSelectiveFlushAndWALinDataCompaction
- Throws:
IOException
-
testSelectiveFlushWithBasicAndMerge
- Throws:
IOException
-
testStressFlushAndWALinIndexCompaction
- Throws:
IOException
-
getWAL
-