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


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieCompactor.java:
##########
@@ -220,13 +233,24 @@ public int compact(int retry) {
 
   private Integer doScheduleAndCompact(JavaSparkContext jsc) throws Exception {
     LOG.info("Step 1: Do schedule");
-    Option<String> instantTime = doSchedule(jsc);
+    metaClient = HoodieTableMetaClient.reload(metaClient);
+    Option<String> instantTime = Option.empty();
+
+    if (cfg.retryLastFailedJob) {

Review Comment:
   Okay, so we also migrate some clustering function to the compaction.



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