dheerajpanangat opened a new issue, #7217:
URL: https://github.com/apache/hudi/issues/7217

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   
   Compaction is not working for Hudi 0.12.1 and Flink 1.15.2 with the 
following configurations:
   `'hoodie.compact.inline': 'true',
   'hoodie.compact.inline.max.delta.commits':3,
   'hoodie.table.timeline.timezone':'utc'`
   
   We see a conflict between timeline timezones as below
   compactionInstant (20221115171352311) Instants 
:[[20221115224210227__deltacommit__COMPLETED]
   Hudi Cli:
   `Error: Failed to run compaction for 20221115171043695
   
   java.lang.IllegalArgumentException: Following instants have timestamps >= 
compactionInstant (20221115171352311) Instants 
:[[20221115224210227__deltacommit__COMPLETED], 
[20221115224244465__deltacommit__COMPLETED], 
[20221115224253081__deltacommit__COMPLETED], 
[20221115224303021__deltacommit__COMPLETED]]`
   
   Flink logs:
   `[compact_plan_generate (1/1)#2] INFO 
org.apache.flink.streaming.api.operators.AbstractStreamOperator - No compaction 
plan for checkpoint 8`
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1. Write to hudi with following config
   `'table.type' = 'MERGE_ON_READ'
       'hoodie.compact.inline': 'true',
       'hoodie.compact.inline.max.delta.commits':3,
       'hoodie.table.timeline.timezone':'utc'`
   
   **Expected behavior**
   
   The compaction should be scheduled as per the timezone specified in config 
options.
   
   
   **Environment Description**
   
   * Hudi version : 0.12.1
   
   * Flink version : 1.15.2
   
   * Hive version :
   
   * Hadoop version :
   
   * Storage (HDFS/S3/GCS..) :
   
   * Running on Docker? (yes/no) : no
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   `[compact_plan_generate (1/1)#2] INFO 
org.apache.flink.streaming.api.operators.AbstractStreamOperator - No compaction 
plan for checkpoint 8`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to