public void close() {
        if (client != null) {
            client.close();
            client = null;
            LOG.info("Disconnect to hive metastore");
        }
    }
Close the connection of hive metastore
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/hudi/HudiCatalogClient.java