Class TestDateTieredCompactor
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.TestDateTieredCompactor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.apache.hadoop.hbase.KeyValue
private static final org.apache.hadoop.hbase.KeyValue
private static final org.apache.hadoop.hbase.KeyValue
private static final org.apache.hadoop.hbase.KeyValue
private static final byte[]
private static final org.apache.hadoop.hbase.TableName
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> T[]
a
(T... a) private org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor
createCompactor
(TestCompactor.StoreFileWritersCapture writers, org.apache.hadoop.hbase.KeyValue[] input, List<org.apache.hadoop.hbase.regionserver.HStoreFile> storefiles) data()
void
test()
void
private void
verify
(org.apache.hadoop.hbase.KeyValue[] input, List<Long> boundaries, org.apache.hadoop.hbase.KeyValue[][] output, boolean allFiles)
-
Field Details
-
CLASS_RULE
-
NAME_OF_THINGS
-
TABLE_NAME
-
KV_A
-
KV_B
-
KV_C
-
KV_D
-
usePrivateReaders
-
-
Constructor Details
-
TestDateTieredCompactor
public TestDateTieredCompactor()
-
-
Method Details
-
data
-
createCompactor
private org.apache.hadoop.hbase.regionserver.compactions.DateTieredCompactor createCompactor(TestCompactor.StoreFileWritersCapture writers, org.apache.hadoop.hbase.KeyValue[] input, List<org.apache.hadoop.hbase.regionserver.HStoreFile> storefiles) throws Exception - Throws:
Exception
-
verify
private void verify(org.apache.hadoop.hbase.KeyValue[] input, List<Long> boundaries, org.apache.hadoop.hbase.KeyValue[][] output, boolean allFiles) throws Exception - Throws:
Exception
-
a
-
test
- Throws:
Exception
-
testEmptyOutputFile
- Throws:
Exception
-