public static class TestHStore.MyCompactingMemStoreWithCustomCompactor extends org.apache.hadoop.hbase.regionserver.CompactingMemStore
Modifier and Type | Field and Description |
---|---|
private static AtomicInteger |
RUNNER_COUNT |
allowCompaction, COMPACTING_MEMSTORE_TYPE_DEFAULT, COMPACTING_MEMSTORE_TYPE_KEY, compactor, DEEP_OVERHEAD, IN_MEMORY_CONPACTION_POOL_SIZE_DEFAULT, IN_MEMORY_CONPACTION_POOL_SIZE_KEY, IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY
Constructor and Description |
---|
MyCompactingMemStoreWithCustomCompactor(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.CellComparatorImpl c,
org.apache.hadoop.hbase.regionserver.HStore store,
org.apache.hadoop.hbase.regionserver.RegionServicesForStores regionServices,
org.apache.hadoop.hbase.MemoryCompactionPolicy compactionPolicy) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.regionserver.MemStoreCompactor |
createMemStoreCompactor(org.apache.hadoop.hbase.MemoryCompactionPolicy compactionPolicy) |
protected boolean |
shouldFlushInMemory() |
checkActiveSize, createList, debug, flattenOneSegment, flushInMemory, getFamilyName, getFlushableSize, getImmutableSegments, getIndexType, getInmemoryFlushSize, getNextRow, getScanners, getSegments, getSmallestReadPoint, getStore, hasImmutableSegments, heapSize, isMemStoreFlushingInMemory, isSloppy, keySize, preFlushSeqIDEstimation, pushActiveToPipeline, setCompositeSnapshot, setIndexType, size, snapshot, startReplayingFromWAL, stopReplayingFromWAL, swapCompactedSegments, updateLowestUnflushedSequenceIdInWAL
private static final AtomicInteger RUNNER_COUNT
public MyCompactingMemStoreWithCustomCompactor(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.CellComparatorImpl c, org.apache.hadoop.hbase.regionserver.HStore store, org.apache.hadoop.hbase.regionserver.RegionServicesForStores regionServices, org.apache.hadoop.hbase.MemoryCompactionPolicy compactionPolicy) throws IOException
IOException
protected org.apache.hadoop.hbase.regionserver.MemStoreCompactor createMemStoreCompactor(org.apache.hadoop.hbase.MemoryCompactionPolicy compactionPolicy) throws org.apache.hadoop.hbase.exceptions.IllegalArgumentIOException
createMemStoreCompactor
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
org.apache.hadoop.hbase.exceptions.IllegalArgumentIOException
protected boolean shouldFlushInMemory()
shouldFlushInMemory
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.