You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/08/15 01:42:00 UTC

[jira] [Resolved] (SPARK-28203) PythonRDD should respect SparkContext's conf when passing user confMap

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

Hyukjin Kwon resolved SPARK-28203.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

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

> PythonRDD should respect SparkContext's conf when passing user confMap
> ----------------------------------------------------------------------
>
>                 Key: SPARK-28203
>                 URL: https://issues.apache.org/jira/browse/SPARK-28203
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, Spark Core
>    Affects Versions: 2.4.3
>            Reporter: Xianjin YE
>            Assignee: Xianjin YE
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> PythonRDD have several API which accepts user configs from python side. The parameter is called confAsMap and it's intended to merge with RDD's hadoop configuration.
>  However, the confAsMap is first mapped to Configuration then merged into SparkContext's hadoop configuration. The mapped Configuration will load default key values in core-default.xml etc., which may be updated in SparkContext's hadoop configuration. The default value will override updated value in the merge process.
> I will submit a pr to fix this.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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