Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Conversation

@tangzhankun
Copy link

What changes were proposed in this pull request?

Two configurations added as below to support setting environment variables into driver and executors:

--conf spark.executorEnv.[EnvironmentVariableName]
--conf spark.kubernetes.driverEnv.[EnvironmentVariableName]

How was this patch tested?

For driver, unit test case is added.
For both driver and executor, manually integration test against the k8s cluster is performed.

tangzhankun added 2 commits August 9, 2017 19:01
…or as below:

--conf spark.executorEnv.[EnvironmentVariableName]
--conf spark.driverEnv.[EnvironmentVariableName]
@liyinan926
Copy link
Member

LGTM.

@erikerlandson
Copy link
Member

@tangzhankun thanks for rebasing

@erikerlandson erikerlandson merged commit 372ae41 into apache-spark-on-k8s:branch-2.2-kubernetes Aug 9, 2017
@foxish foxish mentioned this pull request Aug 9, 2017
10 tasks
ifilonenko pushed a commit to ifilonenko/spark that referenced this pull request Feb 26, 2019
…-bintray-upload

Clean before bintray upload.
puneetloya pushed a commit to puneetloya/spark that referenced this pull request Mar 11, 2019
…or (apache-spark-on-k8s#424)

* allow configuration to set environment variables on driver and executor as below:
--conf spark.executorEnv.[EnvironmentVariableName]
--conf spark.driverEnv.[EnvironmentVariableName]

* change the driver environment key prefix to spark.kubernetes.driverEnv.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants