@Override
  public void dropDatabase(String database) {
    List<String> tables = listTables(database);
    if (!tables.isEmpty()) {
      throw new DatabaseNotEmptyException("Database: " + database + " is not empty");
    }
    metaStore.doAs(
        () -> {
          FileSystem fs = fs();
          Path path = new Path(warehouse, database);
          fs.delete(path, true);
          return null;
        });
  }
Hudi catalog implement in hadoop filesystem.
amoro-format-hudi/src/main/java/org/apache/amoro/formats/hudi/HudiHadoopCatalog.java