private static void tryDeleteAllDirectInsertFiles(FileSystem fs, Path specPath, Path manifestDir,
      int dpLevels, int lbLevels, AcidUtils.IdPathFilter filter, long writeId, int stmtId,
      Configuration conf, AcidUtils.Operation acidOperation) throws IOException {
    Path[] files = getDirectInsertDirectoryCandidates(
        fs, specPath, dpLevels, filter, writeId, stmtId, conf, null, acidOperation);
    if (files != null) {
      for (Path path : files) {
        Utilities.FILE_OP_LOGGER.info("Deleting {} on failure", path);
        tryDelete(fs, path);
      }
    }
    Utilities.FILE_OP_LOGGER.info("Deleting {} on failure", manifestDir);
    fs.delete(manifestDir, true);
  }
Create row key and value object inspectors for reduce vectorization.
The row object inspector used by ReduceWork needs to be a **standard**
struct object inspector, not just any struct object inspector.
@param keyInspector
@param valueInspector
@return OI
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java