yanghua commented on code in PR #7101:
URL: https://github.com/apache/hudi/pull/7101#discussion_r1010379107
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieCleaner.java:
##########
@@ -67,6 +67,7 @@ public void run() {
HoodieWriteConfig hoodieCfg = getHoodieClientConfig();
SparkRDDWriteClient client = new SparkRDDWriteClient<>(new
HoodieSparkEngineContext(jssc), hoodieCfg);
client.clean();
+ client.close();
Review Comment:
Using `try with resource` looks better?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]