spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo Vanzin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-22414) Can't set driver env variables on yarn
Date Wed, 01 Nov 2017 21:30:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-22414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16234775#comment-16234775
] 

Marcelo Vanzin commented on SPARK-22414:
----------------------------------------

Have you tried {{spark.yarn.appMasterEnv.FOO}}? Pretty sure that's used for the AM in both
client and cluster (= driver) mode.

> Can't set driver env variables on yarn
> --------------------------------------
>
>                 Key: SPARK-22414
>                 URL: https://issues.apache.org/jira/browse/SPARK-22414
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy
>    Affects Versions: 2.2.0
>            Reporter: Flavio Brasil
>
> We're trying to upgrade to 2.2.0 from 2.1.0 at Twitter but it seems that there's no way
to set the JAVA_HOME for the driver running on the yarn am.
> https://issues.apache.org/jira/browse/SPARK-17979 removed the environment variable SPARK_YARN_USER_ENV,
but provided no alternative to set env variables for the driver since `spark.executorEnv`
is only for executors.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message