[
https://issues.apache.org/jira/browse/SPARK-23630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcelo Vanzin resolved SPARK-23630.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.3.1
2.4.0
Issue resolved by pull request 20776
[https://github.com/apache/spark/pull/20776]
> Spark-on-YARN missing user customizations of hadoop config
> ----------------------------------------------------------
>
> Key: SPARK-23630
> URL: https://issues.apache.org/jira/browse/SPARK-23630
> Project: Spark
> Issue Type: Bug
> Components: YARN
> Affects Versions: 2.3.0
> Reporter: Marcelo Vanzin
> Assignee: Marcelo Vanzin
> Priority: Major
> Fix For: 2.4.0, 2.3.1
>
>
> In my change to fix SPARK-22372, I removed some code that allowed user
> customizations of hadoop configs to take effect. Notably, these lines in
> YarnSparkHadoopUtil:
> {noformat}
> override def newConfiguration(conf: SparkConf): Configuration = {
> val hadoopConf = new YarnConfiguration(super.newConfiguration(conf))
> hadoopConf.addResource(Client.SPARK_HADOOP_CONF_FILE)
> hadoopConf
> }
> {noformat}
> The {{addResource}} call is now missing so user configs are ignored (only the
> NM config is used).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]