Class TestMinorCompaction
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMinorCompaction
Test minor compactions
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static byte[]private static byte[]private static intprivate static org.apache.hadoop.conf.Configurationprivate static byte[]private org.apache.hadoop.hbase.client.TableDescriptororg.junit.rules.TestNameprivate org.apache.hadoop.hbase.regionserver.HRegionprivate static byte[]private static byte[]private static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()static voidvoidtearDown()private voidtestMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete) private voidtestMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete, int expectedResultsAfterDelete) voidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
name
-
UTIL
-
CONF
-
r
-
htd
-
COMPACTION_THRESHOLD
-
FIRST_ROW_BYTES
-
SECOND_ROW_BYTES
-
THIRD_ROW_BYTES
-
COL1
-
COL2
-
-
Constructor Details
-
TestMinorCompaction
public TestMinorCompaction()
-
-
Method Details
-
setUpBeforeClass
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testMinorCompactionWithDeleteRow
- Throws:
Exception
-
testMinorCompactionWithDeleteColumn1
- Throws:
Exception
-
testMinorCompactionWithDeleteColumn2
- Throws:
Exception
-
testMinorCompactionWithDeleteColumnFamily
- Throws:
Exception
-
testMinorCompactionWithDeleteVersion1
- Throws:
Exception
-
testMinorCompactionWithDeleteVersion2
- Throws:
Exception
-
testMinorCompactionWithDelete
private void testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete) throws Exception - Throws:
Exception
-
testMinorCompactionWithDelete
private void testMinorCompactionWithDelete(org.apache.hadoop.hbase.client.Delete delete, int expectedResultsAfterDelete) throws Exception - Throws:
Exception
-