Class TestMobFileCleanupUtil

java.lang.Object
org.apache.hadoop.hbase.mob.TestMobFileCleanupUtil

public class TestMobFileCleanupUtil extends Object
Mob file cleaner chore test. 1. Creates MOB table 2. Load MOB data and flushes it N times 3. Runs major MOB compaction (N MOB files go to archive) 4. Verifies that number of MOB files in a mob directory is N+1 5. Waits for a period of time larger than minimum age to archive 6. Runs Mob cleaner chore 7 Verifies that number of MOB files in a mob directory is 1.