public class AbstractTestDateTieredCompactionPolicy extends TestCompactionPolicy
Constructor and Description |
---|
AbstractTestDateTieredCompactionPolicy() |
Modifier and Type | Method and Description |
---|---|
protected void |
compactEquals(long now,
ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates,
long[] expectedFileSizes,
long[] expectedBoundaries,
boolean isMajor,
boolean toCompact) |
protected void |
compactEqualsStoragePolicy(long now,
ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates,
Map<Long,String> expectedBoundariesPolicies,
boolean isMajor,
boolean toCompact) |
private org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactionRequest |
getRequest(long now,
ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates,
boolean isMajor,
boolean toCompact) |
protected ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> |
sfCreate(long[] minTimestamps,
long[] maxTimestamps,
long[] sizes) |
compactEquals, compactEquals, compactEquals, config, getSizes, initialize, setUp, sfCreate, sfCreate, sfCreate, sfCreate, tearDown, toArrayList
public AbstractTestDateTieredCompactionPolicy()
protected ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> sfCreate(long[] minTimestamps, long[] maxTimestamps, long[] sizes) throws IOException
IOException
protected void compactEquals(long now, ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, long[] expectedFileSizes, long[] expectedBoundaries, boolean isMajor, boolean toCompact) throws IOException
IOException
private org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactionRequest getRequest(long now, ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, boolean isMajor, boolean toCompact) throws IOException
IOException
protected void compactEqualsStoragePolicy(long now, ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, Map<Long,String> expectedBoundariesPolicies, boolean isMajor, boolean toCompact) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.