private String getLocation(String tableName, String partValue) {
    Path tblLocation = new Path(tmpdir, tableName);
    if (partValue != null) {
      tblLocation = new Path(tblLocation, "ds=" + partValue);
    }
    return tblLocation.toString();
  }
Super class for all of the compactor test modules.
ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java