Github user mridulm commented on a diff in the pull request:
https://github.com/apache/spark/pull/20799#discussion_r174272808
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ExecutorRunnable.scala
---
@@ -247,6 +241,18 @@ private[yarn] class ExecutorRunnable(
System.getenv().asScala.filterKeys(_.startsWith("SPARK"))
.foreach { case (k, v) => env(k) = v }
+
+ sparkConf.getExecutorEnv.foreach { case (key, value) =>
+ if (key == Environment.CLASSPATH.name()) {
--- End diff --
@tgravescs In existing code, in `prepareEnvironment`, "env" is populated
only with `Environment.CLASSPATH`. Hence LD_LIBRARY_PATH does not apply to this
specific change.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]