Details
-
Improvement
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
None
-
None
-
None
Description
As of now, in upsert path,
- hudi builds a workloadProfile to understand total inserts and updates(with location info)
- Following which, small files info are populated
- Then buckets are populated with above info.
- These buckets are later used when getPartition(Object key) is invoked in UpsertPartitioner.
In step1: to build global workload profile, we had to do an action on entire JavaRDD<HoodieRecord>s in the driver and hudi does save the workload profile as well.
For large write intensive batch jobs(COW types), caching this incurs additional overhead. So, this effort is trying to see if we can avoid doing this by some means.