public static String getDataNodeInfo(Collection<DatanodeInfo> datanodeInfos) {
    if (datanodeInfos.isEmpty()) {
      return "[]";
    }
    return datanodeInfos.stream()
      .map(datanodeInfo -> new StringBuilder().append("(").append(datanodeInfo.getHostName())
        .append("/").append(datanodeInfo.getInfoAddr()).append(":")
        .append(datanodeInfo.getInfoPort()).append(")").toString())
      .collect(Collectors.joining(",", "[", "]"));
  }
Create a {@link FanOutOneBlockAsyncDFSOutput}. The method maybe blocked so do not call it
inside an {@link EventLoop}.
hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java