You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2016/07/12 17:16:20 UTC

[jira] [Resolved] (SPARK-16414) Can not get user config when calling SparkHadoopUtil.get.conf in other places, such as DataSourceStrategy

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

Marcelo Vanzin resolved SPARK-16414.
------------------------------------
       Resolution: Fixed
         Assignee: sharkd tu
    Fix Version/s: 2.0.0

> Can not get user config when calling SparkHadoopUtil.get.conf in other places, such as DataSourceStrategy
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16414
>                 URL: https://issues.apache.org/jira/browse/SPARK-16414
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.6.2
>            Reporter: sharkd tu
>            Assignee: sharkd tu
>              Labels: easyfix
>             Fix For: 2.0.0
>
>
> Fix bugs for "Can not get user config when calling SparkHadoopUtil.get.conf in other places".
> The `SparkHadoopUtil` singleton was instantiated before `ApplicationMaster`, So the `sparkConf` and `conf` in the `SparkHadoopUtil` singleton didn't include user's configuration. 
> see https://github.com/apache/spark/pull/14088



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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