Search in sources :

Example 1 with DateTieredCompactor

use of org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor in project hbase by apache.

the class DateTieredStoreEngine method createComponents.

@Override
protected void createComponents(Configuration conf, Store store, CellComparator kvComparator) throws IOException {
    this.compactionPolicy = new DateTieredCompactionPolicy(conf, store);
    this.storeFileManager = new DefaultStoreFileManager(kvComparator, StoreFile.Comparators.SEQ_ID_MAX_TIMESTAMP, conf, compactionPolicy.getConf());
    this.storeFlusher = new DefaultStoreFlusher(conf, store);
    this.compactor = new DateTieredCompactor(conf, store);
}
Also used : DateTieredCompactor(org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor) DateTieredCompactionPolicy(org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactionPolicy)

Aggregations

DateTieredCompactionPolicy (org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactionPolicy)1 DateTieredCompactor (org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor)1