Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-42613

PythonRunner should set OMP_NUM_THREADS to task cpus instead of executor cores by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.5.0
    • PySpark, YARN
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              jzhuge John Zhuge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: