Skip to content
Snippets Groups Projects
Commit 47b38fd2 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Bug fix in passing env vars to executors

parent 6c1dee2e
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ extends MScheduler with spark.Scheduler with Logging
val params = new JHashMap[String, String]
for (key <- ENV_VARS_TO_SEND_TO_EXECUTORS) {
if (System.getenv(key) != null)
params(key) = System.getenv(key)
params("env." + key) = System.getenv(key)
}
new ExecutorInfo(execScript, execArg)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment