You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Jonathan Vexler (Jira)" <ji...@apache.org> on 2022/12/08 23:48:00 UTC
[jira] [Commented] (HUDI-5261) Use proper parallelism for engine context APIs
[ https://issues.apache.org/jira/browse/HUDI-5261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17645032#comment-17645032 ]
Jonathan Vexler commented on HUDI-5261:
---------------------------------------
I see in this guide [https://spark.apache.org/docs/3.2.1/rdd-programming-guide.html#resilient-distributed-datasets-rdds] that it suggests 2-4 per core in the cluster
> Use proper parallelism for engine context APIs
> ----------------------------------------------
>
> Key: HUDI-5261
> URL: https://issues.apache.org/jira/browse/HUDI-5261
> Project: Apache Hudi
> Issue Type: Improvement
> Components: performance
> Reporter: Raymond Xu
> Assignee: Jonathan Vexler
> Priority: Critical
> Fix For: 0.12.2
>
>
> do a global search of these APIs
> - org.apache.hudi.common.engine.HoodieEngineContext#flatMap
> - org.apache.hudi.common.engine.HoodieEngineContext#map
> and similar ones take in parallelism.
> A lot of occurrences are using number of items as parallelism, which affect performance. Parallelism should be based on num cores available in the cluster and set by user via parallelism configs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)