public boolean isAcidEnabled() {
    if (hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY) &&
        hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER).equals("org.apache.hadoop.hive.ql.lockmgr.DbTxnManager")) {
      return true;
    }
    return false;
  }
Get statistics for a given partition of the given table in the given database.
@param dbName - the database where the table resides
@param tableName - name of the partitioned table in the database
@param colNames - columns whose statistics is to be retrieved
@return Map of partition name and list of ColumnStatisticsObj. The objects in the list are
ordered according to the given list of columns.
@throws Exception
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java