private boolean shouldResumePreviousDump(Path lastDumpPath, boolean isBootStrap) throws IOException {
    if (validDump(lastDumpPath)) {
      return false;
    }
    Path hiveDumpPath = new Path(lastDumpPath, ReplUtils.REPL_HIVE_BASE_DIR);
    DumpMetaData dumpMetaData = new DumpMetaData(hiveDumpPath, conf);
    if (tableExpressionModified(dumpMetaData)) {
      return false;
    }
    if (isBootStrap) {
      return shouldResumePreviousDump(dumpMetaData);
    }
    // In case of incremental we should resume if _events_dump file is present and is valid
    Path lastEventFile = new Path(hiveDumpPath, ReplAck.EVENTS_DUMP.toString());
    long resumeFrom = 0;
    try {
      resumeFrom = EventsDumpMetadata.deserialize(lastEventFile, conf).getLastReplId();
    } catch (HiveException ex) {
      LOG.info("Could not get last repl id from {}, because of:", lastEventFile, ex.getMessage());
    }
    return resumeFrom > 0L;
  }
Decide whether to dump ACID tables.
@param tableName - Name of ACID table to be replicated
@return true if need to bootstrap dump ACID table and false if not.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java