You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hudi 0.11.0 / spark 3.2.1
I experience a major problem with cleaning, which time increase linearly with partitions number.
See below logs, of batch loop of inserts in a hudi table with growing number of partitions:
Incremental Cleaning mode is enabled
Total Partitions to clean : 6960, with policy KEEP_LATEST_COMMITS
Total Partitions to clean : 7080, with policy KEEP_LATEST_COMMITS
Total Partitions to clean : 7200, with policy KEEP_LATEST_COMMITS
Total Partitions to clean : 7320, with policy KEEP_LATEST_COMMITS
Total Partitions to clean : 7440, with policy KEEP_LATEST_COMMITS
Total Partitions to clean : 7560, with policy KEEP_LATEST_COMMITS
Total Partitions to clean : 7680, with policy KEEP_LATEST_COMMITS
Total Partitions to clean : 7800, with policy KEEP_LATEST_COMMITS
I debugged this and the cleaner allways fall back to brute force partition cleaning, on file system because the lastClean commit is always empty:
hudi 0.11.0 / spark 3.2.1
I experience a major problem with cleaning, which time increase linearly with partitions number.
See below logs, of batch loop of inserts in a hudi table with growing number of partitions:
I debugged this and the cleaner allways fall back to brute force partition cleaning, on file system because the lastClean commit is always empty:
hudi/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/clean/CleanPlanner.java
Line 155 in a048e94
hudi/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/clean/CleanPlanner.java
Lines 207 to 214 in a048e94
This makes the cleaner unable to work on table with large number of partitions
The text was updated successfully, but these errors were encountered: