public static void prepareHFileQueue(AsyncClusterConnection conn, TableName tableName,
    Map<byte[], List<Path>> map, Deque<LoadQueueItem> queue, boolean silence) throws IOException {
    populateLoadQueue(queue, map);
    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 map       map of family to List of hfiles
@param tableName table to which hfiles should be loaded
@param queue     queue which needs to be loaded into the table
@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