Class AbstractTestDateTieredCompactionPolicy
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCompactionPolicy
org.apache.hadoop.hbase.regionserver.AbstractTestDateTieredCompactionPolicy
- Direct Known Subclasses:
TestDateTieredCompactionPolicy
,TestDateTieredCompactionPolicyHeterogeneousStorage
,TestDateTieredCompactionPolicyOverflow
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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) Methods inherited from class org.apache.hadoop.hbase.regionserver.TestCompactionPolicy
compactEquals, compactEquals, compactEquals, config, getSizes, initialize, setUp, sfCreate, sfCreate, sfCreate, sfCreate, tearDown, toArrayList
-
Constructor Details
-
AbstractTestDateTieredCompactionPolicy
-
-
Method Details
-
sfCreate
protected ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> sfCreate(long[] minTimestamps, long[] maxTimestamps, long[] sizes) throws IOException - Throws:
IOException
-
compactEquals
protected void compactEquals(long now, ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, long[] expectedFileSizes, long[] expectedBoundaries, boolean isMajor, boolean toCompact) throws IOException - Throws:
IOException
-
getRequest
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 - Throws:
IOException
-
compactEqualsStoragePolicy
protected void compactEqualsStoragePolicy(long now, ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, Map<Long, String> expectedBoundariesPolicies, boolean isMajor, boolean toCompact) throws IOException- Throws:
IOException
-