private static LeaseManager createLeaseManager() throws NoSuchMethodException {
    try {
      return createLeaseManager3_4();
    } catch (NoSuchMethodException e) {
      LOG.debug("DFSClient::beginFileLease wrong arguments, should be hadoop 3.3 or below");
    }

    return createLeaseManager3();
  }
Helper class for implementing {@link FanOutOneBlockAsyncDFSOutput}.
hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java