public static HashSet<String> getPathsFromTableFile(String file, Path dumpPath, HiveConf conf) throws IOException {
    HashSet<String> paths = new HashSet<>();
    FileSystem fs = dumpPath.getFileSystem(conf);
    Path tableDiffPath = new Path(dumpPath, TABLE_DIFF_COMPLETE_DIRECTORY);
    Path filePath = new Path(tableDiffPath, file);
    String allEntries;
    try (FSDataInputStream stream = fs.open(filePath);) {
      allEntries = IOUtils.toString(stream, Charset.defaultCharset());
    }
    paths.addAll(Arrays.asList(allEntries.split(System.lineSeparator())).stream().filter(item -> !item.isEmpty())
        .collect(Collectors.toSet()));
    return paths;
  }
Extracts the recursive listing from the table file.
@param file the name of table
@param dumpPath the dump path
@param conf the hive conf
@return the list of paths in the table.
@throws IOException
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/OptimisedBootstrapUtils.java