public static boolean canProvideProgressLog(HiveConf hiveConf) {
    return "tez".equals(hiveConf.getVar(HiveConf.ConfVars.HIVE_EXECUTION_ENGINE)) && hiveConf
        .getBoolVar(HiveConf.ConfVars.HIVE_SERVER2_INPLACE_PROGRESS);
  }
Close the Closeable objects and <b>ignore</b> any {@link IOException} or
null pointers. Must only be used for cleanup in exception handlers.

@param log the log to record problems to at debug level. Can be null.
@param closeables the objects to close
service/src/java/org/apache/hive/service/ServiceUtils.java