You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/09/02 05:07:13 UTC

[GitHub] [hudi] eric9204 opened a new pull request, #6574: Keep a clustering running at the same time.#6573

eric9204 opened a new pull request, #6574:
URL: https://github.com/apache/hudi/pull/6574

   ### Change Logs
   
   _Describe context and summary for this change. Highlight if any code was copied._
   
   ### Impact
   
   _Describe any public API or user-facing feature change or any performance impact._
   
   **Risk level: none | low | medium | high**
   
   _Choose one. If medium or high, explain what verification was done to mitigate the risks._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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


[GitHub] [hudi] danny0405 commented on a diff in pull request #6574: [HUDI-4814] Schedules new clustering plan based on latest clustering instant

Posted by GitBox <gi...@apache.org>.
danny0405 commented on code in PR #6574:
URL: https://github.com/apache/hudi/pull/6574#discussion_r969192834


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -48,21 +48,28 @@
   private final Option<Map<String, String>> extraMetadata;
 
   public ClusteringPlanActionExecutor(HoodieEngineContext context,
-                                          HoodieWriteConfig config,
-                                          HoodieTable<T, I, K, O> table,
-                                          String instantTime,
-                                          Option<Map<String, String>> extraMetadata) {
+                                      HoodieWriteConfig config,
+                                      HoodieTable<T, I, K, O> table,
+                                      String instantTime,
+                                      Option<Map<String, String>> extraMetadata) {
     super(context, config, table, instantTime);
     this.extraMetadata = extraMetadata;
   }
 
   protected Option<HoodieClusteringPlan> createClusteringPlan() {
     LOG.info("Checking if clustering needs to be run on " + config.getBasePath());
-    Option<HoodieInstant> lastClusteringInstant = table.getActiveTimeline().getCompletedReplaceTimeline().lastInstant();
+    Option<HoodieInstant> lastClusteringInstant;
+    Option<HoodieInstant> pendingInstant = table.getActiveTimeline().filterPendingReplaceTimeline().lastInstant();
+    if (pendingInstant.isPresent()) {

Review Comment:
   ```java
   table.getActiveTimeline().getInstants.()stream().filter(
           s -> s.getAction().equals(HoodieTimeline.REPLACE_COMMIT_ACTION)
   ```
   
   guess we can filter the instants directly by the action type here ?



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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1239291320

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7ced8cc1e89594e2a074a546a165ce3ef744841f Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1236825953

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dd530a55de90fe931c22597d453c92b56bb31c1 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148) 
   * 277061fa910ff388b9fa580083fd3af406ce3b94 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] eric9204 commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
eric9204 commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1235086295

   For this issue #6573.


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


[GitHub] [hudi] eric9204 commented on a diff in pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
eric9204 commented on code in PR #6574:
URL: https://github.com/apache/hudi/pull/6574#discussion_r963258228


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -77,11 +78,14 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
       return Option.empty();
     }
 
-    LOG.info("Generating clustering plan for table " + config.getBasePath());
-    ClusteringPlanStrategy strategy = (ClusteringPlanStrategy)
-        ReflectionUtils.loadClass(ClusteringPlanStrategy.checkAndGetClusteringPlanStrategy(config), table, context, config);
+    ClusteringPlanStrategy strategy = null;
+    if (config.getAsyncClusterMaxCommits() <= commitsSinceLastClustering) {
+      LOG.info("Generating clustering plan for table " + config.getBasePath());
+      strategy = (ClusteringPlanStrategy)
+          ReflectionUtils.loadClass(ClusteringPlanStrategy.checkAndGetClusteringPlanStrategy(config), table, context, config);
+    }
 
-    return strategy.generateClusteringPlan();
+    return strategy == null ? Option.empty() : strategy.generateClusteringPlan();

Review Comment:
   @yihua yes, because my last commit deleted the following condition,which can avoid the frequent clustering scheduling.
   ```
   if (table.getActiveTimeline().filterPendingReplaceTimeline().countInstants() != 0) {
         LOG.info("The last clustering is running,there is no need to generate a new clustering plan" + config.getBasePath());
         return Option.empty();
       }
   ```



##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -63,6 +63,7 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
     int commitsSinceLastClustering = table.getActiveTimeline().getCommitsTimeline().filterCompletedInstants()
         .findInstantsAfter(lastClusteringInstant.map(HoodieInstant::getTimestamp).orElse("0"), Integer.MAX_VALUE)
         .countInstants();
+
     if (config.inlineClusteringEnabled() && config.getInlineClusterMaxCommits() > commitsSinceLastClustering) {

Review Comment:
   @yihua yes, this is indeed a redundant inspection, I'm testing whether this condition is needed.
   
   By adding these two conditions, it can really be guaranteed that only one clustering is running at the same time, and if there is no completed clustering, no new clustering plan will be generated.
   
   
   Configure only these three parameters. 
   
   'clustering.schedule.enabled'='true',
   'clustering.async.enabled'='false',
   'clustering.delta_commits'='6',
   
   ```
       0 2022-09-02 10:38 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/.aux
       0 2022-09-02 10:38 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/.schema
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/.temp
   2.6 K 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103807454.commit
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103807454.commit.requested
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103807454.inflight
   2.6 K 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103813399.commit
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103813399.commit.requested
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103813399.inflight
   2.6 K 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103823232.commit
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103823232.commit.requested
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103823232.inflight
   2.6 K 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103833587.commit
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103833587.commit.requested
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103833587.inflight
   2.6 K 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103842538.commit
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103842538.commit.requested
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103842538.inflight
   2.6 K 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103856152.commit
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103856152.commit.requested
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103856152.inflight
   3.8 K 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103902693.replacecommit.requested
   2.6 K 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103902852.commit
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103902852.commit.requested
       0 2022-09-02 10:39 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103902852.inflight
   2.6 K 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103912533.commit
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103912533.commit.requested
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103912533.inflight
   2.6 K 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103922361.commit
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103922361.commit.requested
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103922361.inflight
   2.6 K 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103932640.commit
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103932640.commit.requested
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103932640.inflight
   2.6 K 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103943515.commit
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103943515.commit.requested
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103943515.inflight
   2.6 K 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103952954.commit
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103952954.commit.requested
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902103952954.inflight
   2.6 K 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104004110.commit
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104004110.commit.requested
       0 2022-09-02 10:40 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104004110.inflight
   2.6 K 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104013404.commit
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104013404.commit.requested
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104013404.inflight
   2.6 K 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104022645.commit
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104022645.commit.requested
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104022645.inflight
   2.6 K 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104032517.commit
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104032517.commit.requested
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104032517.inflight
   2.6 K 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104042885.commit
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104042885.commit.requested
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104042885.inflight
   2.6 K 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104052515.commit
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104052515.commit.requested
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104052515.inflight
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104105238.commit.requested
       0 2022-09-02 10:41 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/20220902104105238.inflight
       0 2022-09-02 10:38 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/archived
    1005 2022-09-02 10:38 /tmp/hudi/insert_cow_clustering_12_state_1/.hoodie/hoodie.properties
   ```
   
   Configure only these three parameters. 
   
   'clustering.schedule.enabled'='true',
   'clustering.async.enabled'='true',
   'clustering.delta_commits'='6',
   
   ```
       0 2022-09-02 10:30 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/.aux
       0 2022-09-02 10:30 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/.schema
       0 2022-09-02 10:37 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/.temp
   2.6 K 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103029577.commit
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103029577.commit.requested
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103029577.inflight
   2.6 K 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103038501.commit
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103038501.commit.requested
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103038501.inflight
   2.6 K 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103046820.commit
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103046820.commit.requested
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103046820.inflight
   2.6 K 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103056890.commit
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103056890.commit.requested
       0 2022-09-02 10:31 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103056890.inflight
   2.6 K 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103106350.commit
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103106350.commit.requested
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103106350.inflight
   2.6 K 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103116318.commit
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103116318.commit.requested
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103116318.inflight
   2.9 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103126473.replacecommit
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103126473.replacecommit.inflight
   3.8 K 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103126473.replacecommit.requested
   2.6 K 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103128014.commit
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103128014.commit.requested
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103128014.inflight
   2.6 K 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103136075.commit
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103136075.commit.requested
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103136075.inflight
   2.6 K 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103146039.commit
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103146039.commit.requested
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103146039.inflight
   2.6 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103156252.commit
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103156252.commit.requested
       0 2022-09-02 10:32 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103156252.inflight
   2.6 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103208166.commit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103208166.commit.requested
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103208166.inflight
   2.6 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103217149.commit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103217149.commit.requested
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103217149.inflight
   2.9 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103226275.replacecommit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103226275.replacecommit.inflight
   4.0 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103226275.replacecommit.requested
   2.6 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103226480.commit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103226480.commit.requested
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103226480.inflight
   2.6 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103236458.commit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103236458.commit.requested
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103236458.inflight
   2.6 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103246596.commit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103246596.commit.requested
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103246596.inflight
   2.6 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103256288.commit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103256288.commit.requested
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103256288.inflight
   2.2 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103257588.clean
   2.4 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103257588.clean.inflight
   2.4 K 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103257588.clean.requested
   2.6 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103306174.commit
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103306174.commit.requested
       0 2022-09-02 10:33 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103306174.inflight
   2.6 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103316779.commit
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103316779.commit.requested
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103316779.inflight
   2.6 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103327090.commit
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103327090.commit.requested
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103327090.inflight
   2.6 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103336441.commit
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103336441.commit.requested
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103336441.inflight
   3.0 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103346469.replacecommit
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103346469.replacecommit.inflight
   4.4 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103346469.replacecommit.requested
   2.6 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103346978.commit
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103346978.commit.requested
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103346978.inflight
   2.6 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103356123.commit
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103356123.commit.requested
       0 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103356123.inflight
   2.6 K 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103406453.commit
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103406453.commit.requested
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103406453.inflight
   2.6 K 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103417218.commit
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103417218.commit.requested
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103417218.inflight
   2.4 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103427314.clean
   2.5 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103427314.clean.inflight
   2.5 K 2022-09-02 10:34 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103427314.clean.requested
   2.6 K 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103427491.commit
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103427491.commit.requested
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103427491.inflight
   2.6 K 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103438027.commit
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103438027.commit.requested
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103438027.inflight
   2.6 K 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103446426.commit
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103446426.commit.requested
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103446426.inflight
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103500190.commit
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103500190.commit.requested
       0 2022-09-02 10:35 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103500190.inflight
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103507122.commit
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103507122.commit.requested
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103507122.inflight
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103516798.commit
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103516798.commit.requested
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103516798.inflight
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103526552.commit
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103526552.commit.requested
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103526552.inflight
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103536698.commit
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103536698.commit.requested
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103536698.inflight
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103546517.replacecommit.inflight
   5.3 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103546517.replacecommit.requested
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103546726.commit
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103546726.commit.requested
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103546726.inflight
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103556430.commit
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103556430.commit.requested
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103556430.inflight
   2.6 K 2022-09-02 10:37 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103606316.commit
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103606316.commit.requested
       0 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103606316.inflight
   2.6 K 2022-09-02 10:37 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103618745.commit
       0 2022-09-02 10:37 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103618745.commit.requested
       0 2022-09-02 10:37 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103618745.inflight
   2.6 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103627453.clean
   2.9 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103627453.clean.inflight
   2.9 K 2022-09-02 10:36 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103627453.clean.requested
       0 2022-09-02 10:37 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103627564.commit.requested
       0 2022-09-02 10:37 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/20220902103627564.inflight
       0 2022-09-02 10:30 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/archived
    1005 2022-09-02 10:30 /tmp/hudi/insert_cow_clustering_12_state_2/.hoodie/hoodie.properties
   ```



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


[GitHub] [hudi] yihua commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
yihua commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1237522418

   @eric9204 could you also create and claim a JIRA ticket for the issue, following [the process](https://hudi.apache.org/contribute/developer-setup#filing-jiras)? 


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: [HUDI-4814] Schedules new clustering plan based on latest clustering instant

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1245324885

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237",
       "triggerID" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7bdc7a9e63146e574dbf13dcc7f9f8a183d73685",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11321",
       "triggerID" : "7bdc7a9e63146e574dbf13dcc7f9f8a183d73685",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7bdc7a9e63146e574dbf13dcc7f9f8a183d73685 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11321) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] eric9204 commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
eric9204 commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1236512527

   @danny0405 Actually, the clustering plan was scheduled for every successful commits. and there are too many inflight clustering job. I think need to make some change.


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1238934128

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 277061fa910ff388b9fa580083fd3af406ce3b94 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160) 
   * 86efca51356b9d673dc971b23e8280872c62ba41 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206) 
   * 7ced8cc1e89594e2a074a546a165ce3ef744841f Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1236562876

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * bcc7396d9357eb792a0c7a61335910cb16746a62 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119) 
   * 6dd530a55de90fe931c22597d453c92b56bb31c1 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] danny0405 commented on a diff in pull request #6574: [HUDI-4814]Fix bug which generated a new clustering plan after each successful commit.#6573

Posted by GitBox <gi...@apache.org>.
danny0405 commented on code in PR #6574:
URL: https://github.com/apache/hudi/pull/6574#discussion_r969124933


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -63,6 +63,7 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
     int commitsSinceLastClustering = table.getActiveTimeline().getCommitsTimeline().filterCompletedInstants()
         .findInstantsAfter(lastClusteringInstant.map(HoodieInstant::getTimestamp).orElse("0"), Integer.MAX_VALUE)
         .countInstants();
+
     if (config.inlineClusteringEnabled() && config.getInlineClusterMaxCommits() > commitsSinceLastClustering) {

Review Comment:
   Yes, the fix makes sense to me too.
   
   >but one thing which I am finding it hard to comprehend
   
   Flink writer schedules a clustering plan on each successful regular commit and there is a async pipeline that executes the clustering continuously, this patch can solve the problem that the clustering plan schedules too frequently if there is pending clustering.
   
   So, +1 from my side.



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


[GitHub] [hudi] yihua commented on a diff in pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
yihua commented on code in PR #6574:
URL: https://github.com/apache/hudi/pull/6574#discussion_r963150834


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -63,6 +63,7 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
     int commitsSinceLastClustering = table.getActiveTimeline().getCommitsTimeline().filterCompletedInstants()
         .findInstantsAfter(lastClusteringInstant.map(HoodieInstant::getTimestamp).orElse("0"), Integer.MAX_VALUE)
         .countInstants();
+
     if (config.inlineClusteringEnabled() && config.getInlineClusterMaxCommits() > commitsSinceLastClustering) {

Review Comment:
   This and the condition below guarantee that the clustering is only scheduled based on the max_commits config.  @eric9204 could you double check the logic?



##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -77,11 +78,14 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
       return Option.empty();
     }
 
-    LOG.info("Generating clustering plan for table " + config.getBasePath());
-    ClusteringPlanStrategy strategy = (ClusteringPlanStrategy)
-        ReflectionUtils.loadClass(ClusteringPlanStrategy.checkAndGetClusteringPlanStrategy(config), table, context, config);
+    ClusteringPlanStrategy strategy = null;
+    if (config.getAsyncClusterMaxCommits() <= commitsSinceLastClustering) {
+      LOG.info("Generating clustering plan for table " + config.getBasePath());
+      strategy = (ClusteringPlanStrategy)
+          ReflectionUtils.loadClass(ClusteringPlanStrategy.checkAndGetClusteringPlanStrategy(config), table, context, config);
+    }
 
-    return strategy.generateClusteringPlan();
+    return strategy == null ? Option.empty() : strategy.generateClusteringPlan();

Review Comment:
   @eric9204 This does not seem to solve the problem you mentioned, around frequent clustering scheduling.  This only avoids NPE.



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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1235087427

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fcda13b764ae401e51990adf4c1369537e34e58 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] eric9204 commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
eric9204 commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1237678689

   @yihua I don't know if this idea is correct. If this solution is correct, I will create a JIRA and assign it to me and link it here.


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1238906690

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 277061fa910ff388b9fa580083fd3af406ce3b94 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160) 
   * 86efca51356b9d673dc971b23e8280872c62ba41 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206) 
   * 7ced8cc1e89594e2a074a546a165ce3ef744841f UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1238834637

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 277061fa910ff388b9fa580083fd3af406ce3b94 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160) 
   * 86efca51356b9d673dc971b23e8280872c62ba41 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1239083310

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 86efca51356b9d673dc971b23e8280872c62ba41 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206) 
   * 7ced8cc1e89594e2a074a546a165ce3ef744841f Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1240181238

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237",
       "triggerID" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7ced8cc1e89594e2a074a546a165ce3ef744841f Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211) 
   * b158b5a580ffb609380dcac27a299c9a7557d649 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1240178259

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7ced8cc1e89594e2a074a546a165ce3ef744841f Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211) 
   * b158b5a580ffb609380dcac27a299c9a7557d649 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: [HUDI-4814] Schedules new clustering plan based on latest clustering instant

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1245083490

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237",
       "triggerID" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7bdc7a9e63146e574dbf13dcc7f9f8a183d73685",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7bdc7a9e63146e574dbf13dcc7f9f8a183d73685",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b158b5a580ffb609380dcac27a299c9a7557d649 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237) 
   * 7bdc7a9e63146e574dbf13dcc7f9f8a183d73685 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] eric9204 commented on a diff in pull request #6574: [HUDI-4814] Schedules new clustering plan based on latest clustering instant

Posted by GitBox <gi...@apache.org>.
eric9204 commented on code in PR #6574:
URL: https://github.com/apache/hudi/pull/6574#discussion_r969267905


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -48,21 +48,28 @@
   private final Option<Map<String, String>> extraMetadata;
 
   public ClusteringPlanActionExecutor(HoodieEngineContext context,
-                                          HoodieWriteConfig config,
-                                          HoodieTable<T, I, K, O> table,
-                                          String instantTime,
-                                          Option<Map<String, String>> extraMetadata) {
+                                      HoodieWriteConfig config,
+                                      HoodieTable<T, I, K, O> table,
+                                      String instantTime,
+                                      Option<Map<String, String>> extraMetadata) {
     super(context, config, table, instantTime);
     this.extraMetadata = extraMetadata;
   }
 
   protected Option<HoodieClusteringPlan> createClusteringPlan() {
     LOG.info("Checking if clustering needs to be run on " + config.getBasePath());
-    Option<HoodieInstant> lastClusteringInstant = table.getActiveTimeline().getCompletedReplaceTimeline().lastInstant();
+    Option<HoodieInstant> lastClusteringInstant;
+    Option<HoodieInstant> pendingInstant = table.getActiveTimeline().filterPendingReplaceTimeline().lastInstant();
+    if (pendingInstant.isPresent()) {

Review Comment:
   > ```java
   > table.getActiveTimeline().getInstants.()stream().filter(
   >         s -> s.getAction().equals(HoodieTimeline.REPLACE_COMMIT_ACTION)
   > ```
   > 
   > guess we can filter the instants directly by the action type here ?
   
   @danny0405 good idea,I'm working on it.



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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1236559694

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * bcc7396d9357eb792a0c7a61335910cb16746a62 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119) 
   * 6dd530a55de90fe931c22597d453c92b56bb31c1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1235338587

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fcda13b764ae401e51990adf4c1369537e34e58 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108) 
   * bcc7396d9357eb792a0c7a61335910cb16746a62 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1235090594

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fcda13b764ae401e51990adf4c1369537e34e58 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1235190932

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fcda13b764ae401e51990adf4c1369537e34e58 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1235559415

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * bcc7396d9357eb792a0c7a61335910cb16746a62 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1237339146

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 277061fa910ff388b9fa580083fd3af406ce3b94 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1240392195

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237",
       "triggerID" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b158b5a580ffb609380dcac27a299c9a7557d649 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1238837321

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 277061fa910ff388b9fa580083fd3af406ce3b94 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160) 
   * 86efca51356b9d673dc971b23e8280872c62ba41 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] danny0405 merged pull request #6574: [HUDI-4814] Schedules new clustering plan based on latest clustering instant

Posted by GitBox <gi...@apache.org>.
danny0405 merged PR #6574:
URL: https://github.com/apache/hudi/pull/6574


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1235334019

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6fcda13b764ae401e51990adf4c1369537e34e58 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108) 
   * bcc7396d9357eb792a0c7a61335910cb16746a62 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] danny0405 commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
danny0405 commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1236507037

   Don't think the change is necessary, we already have pluggable clustering strategies and by default a clustering plan is scheduled for 4 commits.


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: [HUDI-4814] Schedules new clustering plan based on latest clustering instant

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1245089948

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11206",
       "triggerID" : "86efca51356b9d673dc971b23e8280872c62ba41",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11211",
       "triggerID" : "7ced8cc1e89594e2a074a546a165ce3ef744841f",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237",
       "triggerID" : "b158b5a580ffb609380dcac27a299c9a7557d649",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7bdc7a9e63146e574dbf13dcc7f9f8a183d73685",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11321",
       "triggerID" : "7bdc7a9e63146e574dbf13dcc7f9f8a183d73685",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b158b5a580ffb609380dcac27a299c9a7557d649 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11237) 
   * 7bdc7a9e63146e574dbf13dcc7f9f8a183d73685 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11321) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] nsivabalan commented on a diff in pull request #6574: [HUDI-4814]Fix bug which generated a new clustering plan after each successful commit.#6573

Posted by GitBox <gi...@apache.org>.
nsivabalan commented on code in PR #6574:
URL: https://github.com/apache/hudi/pull/6574#discussion_r969073144


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -63,6 +63,7 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
     int commitsSinceLastClustering = table.getActiveTimeline().getCommitsTimeline().filterCompletedInstants()
         .findInstantsAfter(lastClusteringInstant.map(HoodieInstant::getTimestamp).orElse("0"), Integer.MAX_VALUE)
         .countInstants();
+
     if (config.inlineClusteringEnabled() && config.getInlineClusterMaxCommits() > commitsSinceLastClustering) {

Review Comment:
   but one thing which I am finding it hard to comprehend is. wrt clustering, either both planning and execution is inline. or both are async atleast wrt spark datasource writer. So, not sure how the user ended up where clustering was just scheduled w/o getting to completion. 
   



##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/cluster/ClusteringPlanActionExecutor.java:
##########
@@ -63,6 +63,7 @@ protected Option<HoodieClusteringPlan> createClusteringPlan() {
     int commitsSinceLastClustering = table.getActiveTimeline().getCommitsTimeline().filterCompletedInstants()
         .findInstantsAfter(lastClusteringInstant.map(HoodieInstant::getTimestamp).orElse("0"), Integer.MAX_VALUE)
         .countInstants();
+
     if (config.inlineClusteringEnabled() && config.getInlineClusterMaxCommits() > commitsSinceLastClustering) {

Review Comment:
   ok, so the issue we are trying to solve is:
   
   there is a regular writer which just schedules clustering and we have a async clustering job which does the execution of clustering. 
   
   if clustering is pending (may be will be executed by an async clustering job), every new successful commit with regular writer will keep adding new replacecommit.requested. 
   
   If yes, then the fix makes sense to me. 
   @yihua @danny0405 : wdyt. 
   
   
   
   



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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1236666912

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dd530a55de90fe931c22597d453c92b56bb31c1 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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


[GitHub] [hudi] hudi-bot commented on pull request #6574: Keep a clustering running at the same time.#6573

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on PR #6574:
URL: https://github.com/apache/hudi/pull/6574#issuecomment-1236830957

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11108",
       "triggerID" : "6fcda13b764ae401e51990adf4c1369537e34e58",
       "triggerType" : "PUSH"
     }, {
       "hash" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11119",
       "triggerID" : "bcc7396d9357eb792a0c7a61335910cb16746a62",
       "triggerType" : "PUSH"
     }, {
       "hash" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148",
       "triggerID" : "6dd530a55de90fe931c22597d453c92b56bb31c1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160",
       "triggerID" : "277061fa910ff388b9fa580083fd3af406ce3b94",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 6dd530a55de90fe931c22597d453c92b56bb31c1 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11148) 
   * 277061fa910ff388b9fa580083fd3af406ce3b94 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=11160) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


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