@Override
  public void deletePrefix(String prefix) {
    tableMetaStore.doAs(
        () -> {
          Path prefixToDelete = new Path(prefix);
          FileSystem fs = getFs(prefixToDelete);
          try {
            return fs.delete(prefixToDelete, true /* recursive */);
          } catch (IOException e) {
            throw new UncheckedIOException(e);
          }
        });
  }
Implementation of {@link AuthenticatedFileIO} for hadoop file system with authentication.
amoro-format-iceberg/src/main/java/org/apache/amoro/io/AuthenticatedHadoopFileIO.java