public class TestCompactingToCellFlatMapMemStore extends TestCompactingMemStore
TestCompactingMemStore.MyCompactingMemStore
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) org.apache.hadoop.conf.Configuration |
conf |
private static org.slf4j.Logger |
LOG |
boolean |
toCellChunkMap |
chunkCreator, region, regionServicesForStores, store
FAMILY, memstore, mvcc, name, QUALIFIER_COUNT, ROW_COUNT, startSeqNum
Constructor and Description |
---|
TestCompactingToCellFlatMapMemStore(String type) |
Modifier and Type | Method and Description |
---|---|
private long |
addRowsByKeysDataSize(org.apache.hadoop.hbase.regionserver.AbstractMemStore hmc,
String[] keys) |
private void |
addRowsByKeysWith50Cols(org.apache.hadoop.hbase.regionserver.AbstractMemStore hmc,
String[] keys) |
private long |
cellAfterFlushSize() |
private long |
cellBeforeFlushSize() |
static Object[] |
data() |
void |
setUp() |
void |
tearDown() |
void |
testCompaction1Bucket() |
void |
testCompaction2Buckets() |
void |
testCompaction3Buckets() |
void |
testCountOfCellsAfterFlatteningByIterator() |
void |
testCountOfCellsAfterFlatteningByScan() |
void |
testFlatteningToBigCellChunkMap()
CellChunkMap Segment index requires all cell data to be written in the MSLAB Chunks.
|
void |
testFlatteningToCellChunkMap() |
void |
testFlatteningToJumboCellChunkMap()
CellChunkMap Segment index requires all cell data to be written in the MSLAB Chunks.
|
void |
testForceCopyOfBigCellIntoImmutableSegment()
CellChunkMap Segment index requires all cell data to be written in the MSLAB Chunks.
|
void |
testMerging() |
void |
testPuttingBackChunksAfterFlushing() |
void |
testPuttingBackChunksWithOpeningScanner() |
private void |
testTimeRange(boolean isCompaction) |
void |
testTimeRangeAfterCompaction() |
void |
testTimeRangeAfterMerge() |
addRowsByKeys, addRowsByKeys, compactingSetUp, makeQualifier, testGet_memstoreAndSnapShot, testGetNextRow, testMagicCompaction3Buckets, testPuttingBackChunksWithOpeningPipelineScanner, testScanAcrossSnapshot2, testSnapshotting, testTimeOfOldestEdit, testUpdateToTimeOfOldestEdit, testUpsertMemstoreSize
addRegionToMETA, addRows, addRows, assertScannerResults, checkShouldFlush, doScan, internalSetUp, main, tearDownClass, testGetWithDelete, testGetWithDeleteColumn, testGetWithDeleteFamily, testKeepDeleteInmemstore, testMemstoreConcurrentControl, testMemstoreDeletesVisibilityWithSameKey, testMemstoreEditsVisibilityWithSameKey, testMultipleVersionsSimple, testPutSameCell, testPutSameKey, testReadOwnWritesUnderConcurrency, testRetainsDeleteColumn, testRetainsDeleteFamily, testRetainsDeleteVersion, testScanAcrossSnapshot, testShouldFlush, testShouldFlushMeta, verifyScanAcrossSnapshot2
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public final boolean toCellChunkMap
org.apache.hadoop.conf.Configuration conf
public TestCompactingToCellFlatMapMemStore(String type)
public void tearDown() throws Exception
tearDown
in class TestCompactingMemStore
Exception
public void setUp() throws Exception
setUp
in class TestCompactingMemStore
Exception
public void testCompaction1Bucket() throws IOException
testCompaction1Bucket
in class TestCompactingMemStore
IOException
public void testCompaction2Buckets() throws IOException
testCompaction2Buckets
in class TestCompactingMemStore
IOException
public void testCompaction3Buckets() throws IOException
testCompaction3Buckets
in class TestCompactingMemStore
IOException
public void testMerging() throws IOException
IOException
public void testTimeRangeAfterCompaction() throws IOException
IOException
public void testTimeRangeAfterMerge() throws IOException
IOException
private void testTimeRange(boolean isCompaction) throws IOException
IOException
public void testCountOfCellsAfterFlatteningByScan() throws IOException
IOException
public void testCountOfCellsAfterFlatteningByIterator() throws IOException
IOException
private void addRowsByKeysWith50Cols(org.apache.hadoop.hbase.regionserver.AbstractMemStore hmc, String[] keys)
public void testPuttingBackChunksWithOpeningScanner() throws IOException
testPuttingBackChunksWithOpeningScanner
in class TestCompactingMemStore
IOException
public void testPuttingBackChunksAfterFlushing() throws IOException
testPuttingBackChunksAfterFlushing
in class TestCompactingMemStore
IOException
public void testFlatteningToCellChunkMap() throws IOException
IOException
public void testFlatteningToBigCellChunkMap() throws IOException
IOException
public void testFlatteningToJumboCellChunkMap() throws IOException
IOException
public void testForceCopyOfBigCellIntoImmutableSegment() throws IOException
IOException
private long addRowsByKeysDataSize(org.apache.hadoop.hbase.regionserver.AbstractMemStore hmc, String[] keys)
private long cellBeforeFlushSize()
private long cellAfterFlushSize()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.