@Before
  public void setUp() throws Exception {
    HTU = new HBaseTestingUtil();
    conf = HTU.getConfiguration();

    initConf();

    HTU.startMiniCluster();
    admin = HTU.getAdmin();
    familyDescriptor = ColumnFamilyDescriptorBuilder.newBuilder(fam).setMobEnabled(true)
      .setMobThreshold(mobLen).setMaxVersions(1).build();
    tableDescriptor = HTU.createModifyableTableDescriptor("testMobCompactTable")
      .setColumnFamily(familyDescriptor).build();
    table = HTU.createTable(tableDescriptor, null);
  }
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.
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestMobFileCleanupUtil.java