Class TestMemStoreSegmentsIterator
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMemStoreSegmentsIterator
Test the
MemStoreCompactorSegmentsIterator and MemStoreMergerSegmentsIterator
class, Test for bug : HBASE-22324-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static Stringprivate intprivate org.apache.hadoop.hbase.CellComparatorprivate static Stringprivate static longprivate static longprivate org.apache.hadoop.hbase.regionserver.HRegionprivate static Stringprivate org.apache.hadoop.hbase.regionserver.HStoreprivate static String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcloseTestSegments(List<org.apache.hadoop.hbase.regionserver.ImmutableSegment> segments) protected org.apache.hadoop.hbase.regionserver.ImmutableSegmentvoidsetup()voidtearDown()voidvoidprotected voidverifyNext(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
-