public class TestMemStoreSegmentsIterator extends Object
MemStoreCompactorSegmentsIterator
and MemStoreMergerSegmentsIterator
class, Test for bug : HBASE-22324Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
protected static String |
COLUMN |
protected int |
compactionKVMax |
protected org.apache.hadoop.hbase.CellComparator |
comparator |
protected static String |
FAMILY |
protected static long |
GREATER_THAN_INTEGER_MAX_VALUE_SEQ_ID |
protected static long |
LESS_THAN_INTEGER_MAX_VALUE_SEQ_ID |
protected org.apache.hadoop.hbase.regionserver.HRegion |
region |
protected static String |
ROOT_SUB_PATH |
protected org.apache.hadoop.hbase.regionserver.HStore |
store |
protected static String |
TABLE |
protected org.apache.hadoop.hbase.wal.WAL |
wal |
Constructor and Description |
---|
TestMemStoreSegmentsIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeTestSegments(List<org.apache.hadoop.hbase.regionserver.ImmutableSegment> segments) |
protected org.apache.hadoop.hbase.regionserver.ImmutableSegment |
createTestImmutableSegment() |
void |
setup() |
void |
tearDown() |
void |
testMemStoreCompactorSegmentsIteratorNext() |
void |
testMemStoreMergerSegmentsIteratorNext() |
protected void |
verifyNext(org.apache.hadoop.hbase.regionserver.MemStoreSegmentsIterator iterator) |
public static final HBaseClassTestRule CLASS_RULE
protected static String ROOT_SUB_PATH
protected static long LESS_THAN_INTEGER_MAX_VALUE_SEQ_ID
protected static long GREATER_THAN_INTEGER_MAX_VALUE_SEQ_ID
protected org.apache.hadoop.hbase.CellComparator comparator
protected int compactionKVMax
protected org.apache.hadoop.hbase.wal.WAL wal
protected org.apache.hadoop.hbase.regionserver.HRegion region
protected org.apache.hadoop.hbase.regionserver.HStore store
public TestMemStoreSegmentsIterator()
public void setup() throws IOException
IOException
public void testMemStoreCompactorSegmentsIteratorNext() throws IOException
IOException
public void testMemStoreMergerSegmentsIteratorNext() throws IOException
IOException
protected org.apache.hadoop.hbase.regionserver.ImmutableSegment createTestImmutableSegment()
protected void closeTestSegments(List<org.apache.hadoop.hbase.regionserver.ImmutableSegment> segments)
protected void verifyNext(org.apache.hadoop.hbase.regionserver.MemStoreSegmentsIterator iterator)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.