public static List<Long> getTxnIdFromAbortTxnsFile(Path dumpPath, HiveConf conf) throws IOException {
    String input;
    Path abortTxnFile = new Path(dumpPath, ABORT_TXNS_FILE);
    FileSystem fs = abortTxnFile.getFileSystem(conf);
    try (FSDataInputStream stream = fs.open(abortTxnFile);) {
      input = IOUtils.toString(stream, Charset.defaultCharset());
    }
    return unflattenListFromString(input);
  }
Gets &amp; checks whether the database is target of replication.
@param dbName name of database
@param hive hive object
@return true, if the database has repl.target.for property set.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/OptimisedBootstrapUtils.java