Package org.apache.hadoop.hbase.mob
Class TestMobCompactionWithException.MyMobStoreCompactor
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.Compactor<org.apache.hadoop.hbase.regionserver.StoreFileWriter>
org.apache.hadoop.hbase.regionserver.compactions.DefaultCompactor
org.apache.hadoop.hbase.mob.DefaultMobStoreCompactor
org.apache.hadoop.hbase.mob.TestMobCompactionWithException.MyMobStoreCompactor
- Enclosing class:
- TestMobCompactionWithException
public static class TestMobCompactionWithException.MyMobStoreCompactor
extends org.apache.hadoop.hbase.mob.DefaultMobStoreCompactor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.compactions.Compactor
org.apache.hadoop.hbase.regionserver.compactions.Compactor.CellSinkFactory<S extends Object>, org.apache.hadoop.hbase.regionserver.compactions.Compactor.FileDetails, org.apache.hadoop.hbase.regionserver.compactions.Compactor.InternalScannerFactory
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.mob.DefaultMobStoreCompactor
disableIO, ioOptimizedMode, mobLengthMap, mobRefSet, mobSizeThreshold, mobStore, userRequest
Fields inherited from class org.apache.hadoop.hbase.regionserver.compactions.Compactor
COMPACTION_PROGRESS_LOG_INTERVAL, compactionKVMax, compactScannerSizeLimit, conf, defaultScannerFactory, dropCacheMajor, dropCacheMinor, keepSeqIdPeriod, MAJOR_COMPACTION_DROP_CACHE, majorCompactionCompression, MINOR_COMPACTION_DROP_CACHE, minorCompactionCompression, store
-
Constructor Summary
ConstructorDescriptionMyMobStoreCompactor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.HStore store) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
performCompaction
(org.apache.hadoop.hbase.regionserver.compactions.Compactor.FileDetails fd, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.CellSink writer, long smallestReadPoint, boolean cleanSeqId, org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl request, org.apache.hadoop.hbase.regionserver.compactions.CompactionProgress progress) void
setMobFileMaxByteSize
(long maxByteSize) Methods inherited from class org.apache.hadoop.hbase.mob.DefaultMobStoreCompactor
commitWriter, compact, getStoreInfo
Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.DefaultCompactor
abortWriter
Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.Compactor
compact, createParams, createScanner, createScanner, createWriter, createWriter, getProgress, isCompacting
-
Constructor Details
-
MyMobStoreCompactor
public MyMobStoreCompactor(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.HStore store)
-
-
Method Details
-
setMobFileMaxByteSize
-
performCompaction
protected boolean performCompaction(org.apache.hadoop.hbase.regionserver.compactions.Compactor.FileDetails fd, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.CellSink writer, long smallestReadPoint, boolean cleanSeqId, org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl request, org.apache.hadoop.hbase.regionserver.compactions.CompactionProgress progress) throws IOException - Overrides:
performCompaction
in classorg.apache.hadoop.hbase.mob.DefaultMobStoreCompactor
- Throws:
IOException
-