static void executeStatementOnDriverSilently(String cmd, IDriver driver) {
    try {
      executeStatementOnDriver(cmd, driver);
    }
    catch (Exception ex) {
      LOG.warn("Error while executing query: " + cmd, ex);
    }
  }
Execute Hive CLI statement and ignore any exception thrown.

@param cmd arbitrary statement to execute
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactorBase.java