public static String[] getEventIdFromFile(Path dumpPath, HiveConf conf) throws IOException {
    String lastEventId;
    Path eventAckFilePath = new Path(dumpPath, EVENT_ACK_FILE);
    FileSystem fs = eventAckFilePath.getFileSystem(conf);
    try (FSDataInputStream stream = fs.open(eventAckFilePath);) {
      lastEventId = IOUtils.toString(stream, Charset.defaultCharset());
    }
    return lastEventId.replaceAll(System.lineSeparator(), "").trim().split(FILE_ENTRY_SEPARATOR);
  }
Gets the source &amp; target event id  from the event ack file
@param dumpPath the dump path
@param conf the hive configuration
@return the event id from file.
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/OptimisedBootstrapUtils.java