rmahindra123 commented on code in PR #9455:
URL: https://github.com/apache/hudi/pull/9455#discussion_r1298102131


##########
hudi-common/src/main/java/org/apache/hudi/common/util/queue/SimpleExecutor.java:
##########
@@ -77,7 +78,9 @@ public E execute() {
 
   @Override
   public void shutdownNow() {
-    // no-op
+    if (itr instanceof ClosableIterator) {
+      ((ClosableIterator<I>) itr).close();
+    }

Review Comment:
   ADd fix



-- 
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]

Reply via email to