public static void prepareHFileQueue(Configuration conf, AsyncClusterConnection conn,
    TableName tableName, Path hfilesDir, Deque<LoadQueueItem> queue, boolean validateHFile,
    boolean silence) throws IOException {
    discoverLoadQueue(conf, queue, hfilesDir, validateHFile);
    validateFamiliesInHFiles(FutureUtils.get(conn.getAdmin().getDescriptor(tableName)), queue,
      silence);
  }
Prepare a collection of {@code LoadQueueItem} from list of source hfiles contained in the
passed directory and validates whether the prepared queue has all the valid table column
families in it.
@param hfilesDir     directory containing list of hfiles to be loaded into the table
@param queue         queue which needs to be loaded into the table
@param validateHFile if true hfiles will be validated for its format
@param silence       true to ignore unmatched column families
@throws IOException If any I/O or network error occurred
hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java