@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, compactionCompression, compactionKVMax, conf, defaultScannerFactory, keepSeqIdPeriod, MAJOR_COMPACTION_DROP_CACHE, MINOR_COMPACTION_DROP_CACHE, progress, 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,
ThroughputController throughputController,
User user) |
private boolean |
needEmptyFile(CompactionRequestImpl request) |
abortWriter, initMultiWriter
compact, createScanner, createScanner, createTmpWriter, getProgress, 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, 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.