private static void validateAcidFiles(FileStatus[] srcs, FileSystem fs) throws SemanticException {
    try {
      if (srcs == null) {
        return;
      }
      for (FileStatus oneSrc : srcs) {
        if (!AcidUtils.MetaDataFile.isRawFormatFile(oneSrc.getPath(), fs)) {
          throw new SemanticException(ErrorMsg.LOAD_DATA_ACID_FILE, oneSrc.getPath().toString());
        }
      }
    } catch (IOException ex) {
      throw new SemanticException(ex);
    }
  }
Safety check to make sure a file take from one acid table is not added into another acid table
since the ROW__IDs embedded as part a write to one table won't make sense in different
table/cluster.
ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java