spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (Jira)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-26988) Spark overwrites spark.scheduler.pool if set in configs
Date Mon, 16 Mar 2020 22:53:04 GMT

     [ https://issues.apache.org/jira/browse/SPARK-26988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dongjoon Hyun updated SPARK-26988:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> Spark overwrites spark.scheduler.pool if set in configs
> -------------------------------------------------------
>
>                 Key: SPARK-26988
>                 URL: https://issues.apache.org/jira/browse/SPARK-26988
>             Project: Spark
>          Issue Type: Improvement
>          Components: Scheduler
>    Affects Versions: 3.1.0
>            Reporter: Dave DeCaprio
>            Priority: Minor
>
> If you set a default spark.scheduler.pool in your configuration when you create a SparkSession
and then you attempt to override that configuration by calling setLocalProperty on a SparkSession,
as described in the Spark documentation - [https://spark.apache.org/docs/latest/job-scheduling.html#fair-scheduler-pools] -
it won't work.
> Spark will go with the original pool name.
> I've traced this down to SQLExecution.withSQLConfPropagated, which copies any key that
starts with "spark" from the the session state to the local properties.  The can end up overwriting
the scheduler, which is set by spark.scheduler.pool



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message