https://github.com/apache/spark
Revision 334e49b4553d912ac0013c8044bd9a3073907c5a authored by John Zhuge on 28 February 2023, 02:19:23 UTC, committed by Hyukjin Kwon on 28 February 2023, 02:19:30 UTC
### What changes were proposed in this pull request?

The PR fixes a mistake in SPARK-41188 that removed the PythonRunner code setting OMP_NUM_THREADS to number of executor cores by default. That author and reviewers thought it's a duplicate.

### Why are the changes needed?

SPARK-41188 stopped setting OMP_NUM_THREADS to number of executor cores by default when running Python UDF on YARN.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Manual testing

Closes #40199 from jzhuge/SPARK-42596.

Authored-by: John Zhuge <jzhuge@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 43b15b31d26bbf1e539728e6c64aab4eda7ade62)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 9b6b66d
History
Tip revision: 334e49b4553d912ac0013c8044bd9a3073907c5a authored by John Zhuge on 28 February 2023, 02:19:23 UTC
[SPARK-42596][CORE][YARN] OMP_NUM_THREADS not set to number of executor cores by default
Tip revision: 334e49b

README.md

back to top