public static void runCleaner(HiveConf hiveConf) throws Exception {
    // Wait for the cooldown period so the Cleaner can see the last committed txn as the highest committed watermark
    Thread.sleep(MetastoreConf.getTimeVar(hiveConf, MetastoreConf.ConfVars.TXN_OPENTXN_TIMEOUT, TimeUnit.MILLISECONDS));
    runCompactorThread(hiveConf, CompactorThreadType.CLEANER);
  }
takes raw data and turns it into a string as if from Driver.getResults()
sorts rows in dictionary order
ql/src/test/org/apache/hadoop/hive/ql/TxnCommandsBaseForTests.java