@InterfaceAudience.Private public class DateTieredCompactor extends AbstractMultiOutputCompactor<DateTieredMultiFileWriter>
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 |
---|
DateTieredCompactor(org.apache.hadoop.conf.Configuration conf,
HStore store) |
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.hadoop.fs.Path> |
commitWriter(DateTieredMultiFileWriter writer,
Compactor.FileDetails fd,
CompactionRequestImpl request) |
List<org.apache.hadoop.fs.Path> |
compact(CompactionRequestImpl request,
List<Long> lowerBoundaries,
Map<Long,String> lowerBoundariesPolicies,
ThroughputController throughputController,
User user) |
private boolean |
needEmptyFile(CompactionRequestImpl request) |
abortWriter, initMultiWriter
compact, createParams, createScanner, createScanner, createWriter, createWriter, getProgress, isCompacting, performCompaction
private static final org.slf4j.Logger LOG
public DateTieredCompactor(org.apache.hadoop.conf.Configuration conf, HStore store)
private boolean needEmptyFile(CompactionRequestImpl request)
public List<org.apache.hadoop.fs.Path> compact(CompactionRequestImpl request, List<Long> lowerBoundaries, Map<Long,String> lowerBoundariesPolicies, ThroughputController throughputController, User user) throws IOException
IOException
protected List<org.apache.hadoop.fs.Path> commitWriter(DateTieredMultiFileWriter writer, Compactor.FileDetails fd, CompactionRequestImpl request) throws IOException
commitWriter
in class Compactor<DateTieredMultiFileWriter>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.