[jira] [Assigned] (SPARK-23630) Spark-on-YARN missing user customizations of hadoop config

2018-03-09 Thread Marcelo Vanzin (JIRA)

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

Marcelo Vanzin reassigned SPARK-23630:
--

Assignee: Marcelo Vanzin

> 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.3.1, 2.4.0
>
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-23630) Spark-on-YARN missing user customizations of hadoop config

2018-03-08 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-23630:


Assignee: (was: Apache Spark)

> 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
>Priority: Major
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-23630) Spark-on-YARN missing user customizations of hadoop config

2018-03-08 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-23630:


Assignee: Apache Spark

> 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: Apache Spark
>Priority: Major
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org