nicolas paris created HUDI-4792:
-----------------------------------
Summary: Speed up cleaning with metadata table enabled
Key: HUDI-4792
URL: https://issues.apache.org/jira/browse/HUDI-4792
Project: Apache Hudi
Issue Type: Improvement
Reporter: nicolas paris
Currently fetching file group to be deleted is parallelized over each
partition. As a result, in case of many partition, many calls are made on the
metadata. While this is ok for file system view, this is highly inefficient
with the metadata table view (MDT){*}.{*} Likely each call makes the MoR
happens on the MDT and in the case of thousand of partitions the process is
incredibly slow.
I benchmarked cleaning on the same table w/ and w/o MDT on a 40k partitionned
hudi table :
* w/ MDT: 5 hours
* w/o MDT: 5 minutes
--
This message was sent by Atlassian Jira
(v8.20.10#820010)