private void loadData(Table t, int start, int num) {
    try {

      for (int i = 0; i < num; i++) {
        Put p = new Put(Bytes.toBytes(start + i));
        p.addColumn(fam, qualifier, mobVal);
        t.put(p);
      }
      admin.flush(t.getName());
    } catch (Exception e) {
      LOG.error("MOB file cleaner chore test FAILED", e);
      assertTrue(false);
    }
  }
Mob file cleaner chore test. 1. Creates MOB table 2. Load MOB data and flushes it N times 3. Runs
major MOB compaction 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
every old MOB file referenced from current RS was archived
hbase-server/src/test/java/org/apache/hadoop/hbase/mob/TestRSMobFileCleanerChore.java