public static void createBootstrapTableList(Path newDumpPath, Set<String> tablesForBootstrap,
      HiveConf conf) throws SemanticException {
    String tableList = "";
    for (String table : tablesForBootstrap) {
      tableList += table + System.lineSeparator();
    }
    LOG.info("Generated table list for optimised bootstrap {}", tableList);
    Utils.writeOutput(tableList, new Path(newDumpPath, BOOTSTRAP_TABLES_LIST), conf);
  }
Creates the bootstrap table list for the second load of optimised bootstrap to consume.
@param newDumpPath the dump path
@param tablesForBootstrap the list of tables.
@param conf the hive configuration
@throws SemanticException in case of any exception
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/OptimisedBootstrapUtils.java