yanghua commented on a change in pull request #3364: URL: https://github.com/apache/hudi/pull/3364#discussion_r680292542
########## File path: hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java ########## @@ -295,7 +295,7 @@ public void close() { try { ddlExecutor.close(); if (client != null) { - client.close(); + Hive.closeCurrent(); client = null; Review comment: @jsbali I just quickly search the whole project, it seems there are still other cases that call the `close` method directly. Can you fix them passingly? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org