Class TestMajorCompactionWithDeletes
java.lang.Object
org.apache.hadoop.hbase.regionserver.MajorCompactionTestBase
org.apache.hadoop.hbase.regionserver.TestMajorCompactionWithDeletes
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestMajorCompactionWithDeletes
extends MajorCompactionTestBase
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.MajorCompactionTestBase
COLUMN_FAMILY, COLUMN_FAMILY_TEXT, compactionThreshold, compType, conf, htd, MAX_FILES_TO_COMPACT, name, r, secondRowBytes, STARTROW, thirdRowBytes, UTIL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest that on a major compaction, if all cells are expired or deleted, then we'll end up with no product.private voidtestMajorCompactingWithDeletes(org.apache.hadoop.hbase.KeepDeletedCells keepDeletedCells) voidTest that on a major compaction,Deleted cells are retained if keep deleted cells is set to trueMethods inherited from class org.apache.hadoop.hbase.regionserver.MajorCompactionTestBase
createSmallerStoreFile, createStoreFile, createStoreFile, majorCompaction, parameters, setUp, tearDown
-
Constructor Details
-
TestMajorCompactionWithDeletes
-
-
Method Details
-
testMajorCompactingToNoOutput
Test that on a major compaction, if all cells are expired or deleted, then we'll end up with no product. Make sure scanner over region returns right answer in this case - and that it just basically works.- Throws:
IOException- exception encountered
-
testMajorCompactingWithKeepDeletedCells
Test that on a major compaction,Deleted cells are retained if keep deleted cells is set to true- Throws:
IOException- exception encountered
-
testMajorCompactingWithDeletes
private void testMajorCompactingWithDeletes(org.apache.hadoop.hbase.KeepDeletedCells keepDeletedCells) throws IOException - Throws:
IOException
-