private void setLastReplIdForDump(HiveConf conf) throws HiveException, TException {
    // Last logged notification event id would be the last repl Id for the current REPl DUMP.
    Hive hiveDb = Hive.get();
    long lastReplId = hiveDb.getMSC().getCurrentNotificationEventId().getEventId();
    conf.setLong(ReplUtils.LAST_REPL_ID_KEY, lastReplId);
    LOG.debug("Setting " + ReplUtils.LAST_REPL_ID_KEY + " = " + lastReplId);
  }
Last repl id should be captured before opening txn by current REPL DUMP operation.
This is needed to avoid losing data which are added/modified by concurrent txns when bootstrap
dump in progress.
@param conf Query configurations
@throws HiveException
@throws TException
ql/src/java/org/apache/hadoop/hive/ql/Compiler.java