You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2023/02/28 05:45:00 UTC
[jira] [Commented] (SPARK-42613) PythonRunner should set OMP_NUM_THREADS to task cpus instead of executor cores by default
[ https://issues.apache.org/jira/browse/SPARK-42613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694324#comment-17694324 ]
Apache Spark commented on SPARK-42613:
--------------------------------------
User 'jzhuge' has created a pull request for this issue:
https://github.com/apache/spark/pull/40212
> PythonRunner should set OMP_NUM_THREADS to task cpus instead of executor cores by default
> -----------------------------------------------------------------------------------------
>
> Key: SPARK-42613
> URL: https://issues.apache.org/jira/browse/SPARK-42613
> Project: Spark
> Issue Type: Bug
> Components: PySpark, YARN
> Affects Versions: 3.3.0
> Reporter: John Zhuge
> Priority: Major
>
> Follow up from [https://github.com/apache/spark/pull/40199#discussion_r1119453996]
> If OMP_NUM_THREADS is not set explicitly, we should set it to `spark.task.cpus` instead of `spark.executor.cores` as described in [PR #38699|https://github.com/apache/spark/pull/38699].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org