Marcelo Vanzin created SPARK-23630:
--------------------------------------

             Summary: 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


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 to 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

Reply via email to