[
https://issues.apache.org/jira/browse/SPARK-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066872#comment-14066872
]
Thomas Graves commented on SPARK-1680:
--------------------------------------
so what do we want to do here. Do we want to expose spark.executorEnv. to the
user to allow them to set environment variables? I assume since it isn't
documented it wasn't meant for end users but perhaps we just missed documenting
it. I would like to add a config to replace the env variable
SPARK_YARN_USER_ENV.
Either way I will probably need another config to set env variables on the
application master. I could make that one yarn specific like
spark.yarn.appMasterEnv.
> Clean up use of setExecutorEnvs in SparkConf
> ---------------------------------------------
>
> Key: SPARK-1680
> URL: https://issues.apache.org/jira/browse/SPARK-1680
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Reporter: Patrick Wendell
> Priority: Blocker
> Fix For: 1.1.0
>
>
> We should make this consistent between YARN and Standalone. Basically, YARN
> mode should just use the executorEnvs from the Spark conf and not need
> SPARK_YARN_USER_ENV.
--
This message was sent by Atlassian JIRA
(v6.2#6252)