public static boolean isAcid(Path directory, Configuration conf) throws IOException {
    return isAcid(null, directory, conf);
  }
Is the given directory in ACID format?
@param directory the partition directory to check
@param conf the query configuration
@return true, if it is an ACID directory
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java