Class TestMajorCompaction
java.lang.Object
org.apache.hadoop.hbase.regionserver.MajorCompactionTestBase
org.apache.hadoop.hbase.regionserver.TestMajorCompaction
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestMajorCompaction
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.voidRun compaction and flushing memstore Assert deletes get cleaned up.Methods inherited from class org.apache.hadoop.hbase.regionserver.MajorCompactionTestBase
createSmallerStoreFile, createStoreFile, createStoreFile, majorCompaction, parameters, setUp, tearDown
-
Constructor Details
-
TestMajorCompaction
-
-
Method Details
-
testMajorCompaction
Run compaction and flushing memstore Assert deletes get cleaned up.- Throws:
Exception
-
testMajorCompactingToNoOutputWithReverseScan
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
-