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
Nested ClassesModifier and TypeClassDescriptionprivate classThe in-memory-flusher thread performs the flush asynchronously. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.conf.Configurationprivate static final org.apache.hadoop.fs.Pathstatic final byte[][]static final byte[]static final byte[]static final byte[]static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.client.PutcreateDoublePut(int familyNum, int putNum) private org.apache.hadoop.hbase.client.PutcreatePut(int familyNum, int putNum) private org.apache.hadoop.hbase.wal.WALgetWAL(org.apache.hadoop.hbase.regionserver.Region region) private org.apache.hadoop.hbase.regionserver.HRegioninitHRegion(String callingMethod, org.apache.hadoop.conf.Configuration conf) voidsetup()voidvoidvoidvoidvoidprivate voidverifyInMemoryFlushSize(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
-