You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2018/01/03 13:46:01 UTC

[jira] [Resolved] (SPARK-22938) Assert that SQLConf.get is accessed only on the driver.

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

Wenchen Fan resolved SPARK-22938.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

Issue resolved by pull request 20136
[https://github.com/apache/spark/pull/20136]

> Assert that SQLConf.get is accessed only on the driver.
> -------------------------------------------------------
>
>                 Key: SPARK-22938
>                 URL: https://issues.apache.org/jira/browse/SPARK-22938
>             Project: Spark
>          Issue Type: Test
>          Components: SQL
>    Affects Versions: 2.2.1
>            Reporter: Juliusz Sompolski
>            Assignee: Juliusz Sompolski
>             Fix For: 2.3.0
>
>
> Assert if code tries to access SQLConf.get on executor.
> This can lead to hard to detect bugs, where the executor will read fallbackConf, falling back to default config values, ignoring potentially changed non-default configs.
> If a config is to be passed to executor code, it needs to be read on the driver, and passed explicitly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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