public static final class TestMinorCompaction.MyCompactionPolicy extends org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
Constructor and Description |
---|
MyCompactionPolicy(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl |
selectCompaction(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> candidateFiles,
List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor) |
applyCompactionPolicy, createCompactionRequest, needsCompaction, setMinThreshold, shouldPerformMajorCompaction
checkMinFilesCriteria, filterBulk, getCurrentEligibleFiles, getNextMajorCompactTime, preSelectCompactionForCoprocessor, removeExcessFiles, skipLargeFiles, throttleCompaction
public MyCompactionPolicy(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo)
public org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl selectCompaction(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> candidateFiles, List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor) throws IOException
selectCompaction
in class org.apache.hadoop.hbase.regionserver.compactions.SortedCompactionPolicy
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.