Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/22192#discussion_r214354883
--- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
@@ -130,6 +130,11 @@ private[spark] class Executor(
private val urlClassLoader = createClassLoader()
private val replClassLoader = addReplClassLoaderIfNeeded(urlClassLoader)
+ // Load executor plugins
+ Thread.currentThread().setContextClassLoader(replClassLoader)
+ Utils.loadExtensions(classOf[ExecutorPlugin],
conf.get(EXECUTOR_PLUGINS), conf)
--- End diff --
not a big deal but any reason we did this in between setting up the
classloaders, perhaps move down a few lines just to keep all the classloader
stuff together.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]