danny0405 commented on code in PR #6566:
URL: https://github.com/apache/hudi/pull/6566#discussion_r964343611


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/clustering/HoodieFlinkClusteringJob.java:
##########
@@ -335,5 +391,17 @@ public void shutdownAsyncService(boolean error) {
     public void shutDown() {
       shutdownAsyncService(false);
     }
+
+    /**
+     * Execute a dummy pipeline to prevent "no execute() calls" exceptions 
from being thrown if
+     * clustering is not performed.
+     */

Review Comment:
   Let's remove the dummy execution logic first to avoid confusion (a 
successful execution that does nothing), an exception throws here does not 
affect anything right ? And the user can know that there is no compaction plan 
that needs to execute.



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