You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "danny0405 (via GitHub)" <gi...@apache.org> on 2023/06/18 01:17:34 UTC

[GitHub] [hudi] danny0405 commented on a diff in pull request #9002: [HUDI-6395]Scheduling jobs should not fail when there is no scheduled compaction or clustering plan

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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org