[SUPPORT] Hudi archive stopped working
Describe the problem you faced
Hi Team,
we have been using Hudi for over a year now. We have 50+ tables running incremental updates every 10 minutes . We have noticed that one of our table stopped archiving commits . Symptoms : we see that ".hoodie/archived" folder does not contain any new files generated past early August . We do see thousands of commit files in ".hoodie" folder created from early August till present. As far as we can tell only single table is affected. All tables use the same hudi parameters : "hoodie.consistency.check.enabled true" "hoodie.clean.automatic true" "hoodie_write_type COPY_ON_WRITE" "hoodie.cleaner.commits.retained 72" "hoodie.payload.ordering.field integ_key" "hoodie.datasource.write.payload.class org.apache.hudi.common.model.DefaultHoodieRecordPayload" "hoodie.metadata.enable true" "hoodie.metadata.validate true" "hoodie.keep.min.commits 100" "hoodie.keep.max.commits 150"
Not sure how to reproduce the issue since it looks like the issue only affects one of the 50 tables. Any suggestions on how we can debug it further will be helpful.
Environment Description
-
Hudi version : 0.8.0
-
Spark version : 2.4
-
Hive version :
-
Hadoop version :
-
Storage (HDFS/S3/GCS..) : S3
-
Running on Docker? (yes/no) : no
Can you post the contents of .hoodie. And if you can enable debug logs and post it here, would be helpful. wanted to see why archival is not kicking in.
@nsivabalan do you mean content of .hoodie folder ? - its bunch of old commit files plus following subfolders ".aux", ".temp", "metadata", "archived"

I see you have enabled metadata table. Can you try disabling metadata table and give it a try. I am not very sure on metadata table nuances in 0.8.0, but with 0.10.0, if data table has any pending operations, metadata table may not compact and so archival in data table may be fenced as well due to this.
@zuyanton : hey, do you have any updates for us. CC @prashantwason does something pop up for you.
@zuyanton : Do you have any updates for us.
I see there is a pending rollback in data timeline. So, metadata compaction may not kick in if there are any pending operations in data timeline. and archival in datatable may not proceed if metadata compaction does not kick in. CC @manojpec @yihua
@zuyanton : is there any updates on this end. We are looking to fix all bugs around metadata table. would be nice if you can respond to above clarifications
@zuyanton : if we don't get more info, we might have to close out the github issue. sorry. feel free to re-open if you at still stuck and looking for assistance.
@nsivabalan I observed same thing here. rollbacks on the timeline didn't get processed in the flink engine. compact pending on the rollbacks, and marker cleaning pending on compacts, causing an extra large timeline.
in the spark compact process, the rollbacks are processed though, not sure if flink compact should do the same.