We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6c09b6 commit d79e8c0Copy full SHA for d79e8c0
core/src/main/scala/org/apache/spark/executor/Executor.scala
@@ -293,7 +293,7 @@ private[spark] class Executor(
293
* created by the interpreter to the search path
294
*/
295
private def createClassLoader(): ExecutorURLClassLoader = {
296
- val loader = this.getClass.getClassLoader
+ val loader = Thread.currentThread().getContextClassLoader
297
298
// For each of the jars in the jarSet, add them to the class loader.
299
// We assume each of the files has already been fetched.
0 commit comments