Github user jerryshao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22289#discussion_r214233802
  
    --- Diff: 
launcher/src/main/java/org/apache/spark/launcher/AbstractCommandBuilder.java ---
    @@ -200,6 +200,7 @@ void addOptionString(List<String> cmd, String options) {
     
         addToClassPath(cp, getenv("HADOOP_CONF_DIR"));
         addToClassPath(cp, getenv("YARN_CONF_DIR"));
    +    addToClassPath(cp, getEffectiveConfig().get("spark.yarn.conf.dir"));
    --- End diff --
    
    I'm wondering how do we update the classpath to change to another hadoop 
confs with InProcessLauncher? Seems the classpath here is not changeable after 
JVM is launched.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to