Github user HeartSaVioR commented on a diff in the pull request:
https://github.com/apache/spark/pull/9812#discussion_r45261349
--- Diff:
repl/src/main/scala/org/apache/spark/repl/ExecutorClassLoader.scala ---
@@ -55,6 +57,14 @@ class ExecutorClassLoader(conf: SparkConf, classUri:
String, parent: ClassLoader
}
}
+ override def getResource(name: String): URL = {
+ parentLoader.getResource(name)
--- End diff --
@srowen
It doesn't need to check ```userClassPathFirst``` since this implementation
implies that REPL never provides resources dynamically so there's no need to
lookup resource from ExecutorClassLoader itself.
Btw, could precondition be broken? I couldn't imagine REPL generating
resources.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]