@InterfaceAudience.Private public abstract class AbstractMultiOutputCompactor<T extends AbstractMultiFileWriter> extends Compactor<T>
Compactor.CellSinkFactory<S>, Compactor.FileDetails, Compactor.InternalScannerFactory
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
COMPACTION_PROGRESS_LOG_INTERVAL, compactionKVMax, conf, defaultScannerFactory, dropCacheMajor, dropCacheMinor, keepSeqIdPeriod, MAJOR_COMPACTION_DROP_CACHE, majorCompactionCompression, MINOR_COMPACTION_DROP_CACHE, minorCompactionCompression, store
Constructor and Description |
---|
AbstractMultiOutputCompactor(org.apache.hadoop.conf.Configuration conf,
HStore store) |
Modifier and Type | Method and Description |
---|---|
protected void |
abortWriter(AbstractMultiFileWriter writer) |
protected void |
initMultiWriter(AbstractMultiFileWriter writer,
InternalScanner scanner,
Compactor.FileDetails fd,
boolean shouldDropBehind,
boolean major,
Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) |
commitWriter, compact, createParams, createScanner, createScanner, createWriter, createWriter, getProgress, isCompacting, performCompaction
private static final org.slf4j.Logger LOG
public AbstractMultiOutputCompactor(org.apache.hadoop.conf.Configuration conf, HStore store)
protected final void initMultiWriter(AbstractMultiFileWriter writer, InternalScanner scanner, Compactor.FileDetails fd, boolean shouldDropBehind, boolean major, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker)
protected void abortWriter(AbstractMultiFileWriter writer) throws IOException
abortWriter
in class Compactor<T extends AbstractMultiFileWriter>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.