Class TestMemStoreSegmentsIterator
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMemStoreSegmentsIterator
Test the
MemStoreCompactorSegmentsIterator
and MemStoreMergerSegmentsIterator
class, Test for bug : HBASE-22324-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static String
private int
private org.apache.hadoop.hbase.CellComparator
private static String
private static long
private static long
private org.apache.hadoop.hbase.regionserver.HRegion
private static String
private org.apache.hadoop.hbase.regionserver.HStore
private static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
closeTestSegments
(List<org.apache.hadoop.hbase.regionserver.ImmutableSegment> segments) protected org.apache.hadoop.hbase.regionserver.ImmutableSegment
void
setup()
void
tearDown()
void
void
protected void
verifyNext
(org.apache.hadoop.hbase.regionserver.MemStoreSegmentsIterator iterator)
-
Field Details
-
CLASS_RULE
-
TABLE
-
FAMILY
-
COLUMN
-
ROOT_SUB_PATH
-
LESS_THAN_INTEGER_MAX_VALUE_SEQ_ID
-
GREATER_THAN_INTEGER_MAX_VALUE_SEQ_ID
-
comparator
-
compactionKVMax
-
region
-
store
-
-
Constructor Details
-
TestMemStoreSegmentsIterator
public TestMemStoreSegmentsIterator()
-
-
Method Details
-
setup
- Throws:
IOException
-
testMemStoreCompactorSegmentsIteratorNext
- Throws:
IOException
-
testMemStoreMergerSegmentsIteratorNext
- Throws:
IOException
-
createTestImmutableSegment
-
closeTestSegments
protected void closeTestSegments(List<org.apache.hadoop.hbase.regionserver.ImmutableSegment> segments) -
verifyNext
-
tearDown
- Throws:
Exception
-