Github user tgravescs commented on a diff in the pull request:
    --- Diff: 
    @@ -247,6 +241,18 @@ private[yarn] class ExecutorRunnable(
           .foreach { case (k, v) => env(k) = v }
    +    sparkConf.getExecutorEnv.foreach { case (key, value) =>
    +      if (key == {
    --- End diff --
    there are other variables that requires the append, like LD_LIBRARY_PATH.   
It obviously can do bad things if its specified twice though but generally you 
shouldn't be doing that.  
    Maybe I missed it in the description exactly how is AM env taking 
presendence?  Can you please describe the flow as to why moving this or 
changing it fixes the bug (how is executor getting am env now)?


To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to