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

    Constructors
    Constructor
    Description
    MyMobStoreCompactor(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.HStore store)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MyMobStoreCompactor

      public MyMobStoreCompactor(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.HStore store)
  • Method Details

    • setMobFileMaxByteSize

      public void setMobFileMaxByteSize(long maxByteSize)
    • 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 class org.apache.hadoop.hbase.mob.DefaultMobStoreCompactor
      Throws:
      IOException