private int getMaxEventAllowed(int currentEventMaxLimit) {
    int maxDirItems = Integer.parseInt(conf.get(ReplUtils.DFS_MAX_DIR_ITEMS_CONFIG, "0"));
    if (maxDirItems > 0) {
      maxDirItems = maxDirItems - ReplUtils.RESERVED_DIR_ITEMS_COUNT;
      if (maxDirItems < currentEventMaxLimit) {
        LOG.warn("Changing the maxEventLimit from {} to {} as the '" + ReplUtils.DFS_MAX_DIR_ITEMS_CONFIG
                        + "' limit encountered. Set this config appropriately to increase the maxEventLimit",
                currentEventMaxLimit, maxDirItems);
        currentEventMaxLimit = maxDirItems;
      }
    }
    return currentEventMaxLimit;
  }
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