[ 
https://issues.apache.org/jira/browse/HUDI-5643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuwei Xiao updated HUDI-5643:
-----------------------------
    Issue Type: Bug  (was: Improvement)

> Async compaction conflict with consistent hashing bucket resizing (i.e., 
> Clustering)
> ------------------------------------------------------------------------------------
>
>                 Key: HUDI-5643
>                 URL: https://issues.apache.org/jira/browse/HUDI-5643
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: compaction, writer-core
>            Reporter: Yuwei Xiao
>            Priority: Major
>
>  
> Compaction should be disabled for file group under clustering.
>  
> {code:java}
> Exception in thread "main" org.apache.hudi.exception.HoodieException: 
> org.apache.hudi.exception.HoodieException: Earliest write inflight instant 
> time must be later than compaction time. Earliest 
> :[==>20230129172329310__replacecommit__INFLIGHT], Compaction scheduled at 
> 20230129172353265
>     at 
> org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer.lambda$sync$1(HoodieDeltaStreamer.java:197)
>     at org.apache.hudi.common.util.Option.ifPresent(Option.java:97)
>     at 
> org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer.sync(HoodieDeltaStreamer.java:192)
>     at 
> org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer.main(HoodieDeltaStreamer.java:573)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at 
> org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
>     at 
> org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:958)
>     at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:180)
>     at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:203)
>     at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90)
>     at 
> org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1046)
>     at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1055)
>     at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to