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


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieClusteringJob.java:
##########
@@ -216,7 +216,8 @@ private int doCluster(JavaSparkContext jsc) throws 
Exception {
           LOG.info("Found the earliest scheduled clustering instant which will 
be executed: "
               + cfg.clusteringInstantTime);
         } else {
-          throw new HoodieClusteringException("There is no scheduled 
clustering in the table.");
+          LOG.info("There is no scheduled clustering in the table.");
+          return 0;
         }

Review Comment:
   can we fix the test faliues



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