Closed tangzhankun closed 7 years ago
Two configurations added as below to support setting environment variables into driver and executors:
--conf spark.executorEnv.[EnvironmentVariableName] --conf spark.kubernetes.driverEnv.[EnvironmentVariableName]
For driver, unit test case is added. For both driver and executor, manually integration test against the k8s cluster is performed.
LGTM.
@tangzhankun thanks for rebasing
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.