package repl
Type Members
- class ConstructorCleaner extends ClassVisitor
-
class
ExecutorClassLoader extends ClassLoader with Logging
A ClassLoader that reads classes from a Hadoop FileSystem or Spark RPC endpoint, used to load classes defined by the interpreter when the REPL is used.
A ClassLoader that reads classes from a Hadoop FileSystem or Spark RPC endpoint, used to load classes defined by the interpreter when the REPL is used. Allows the user to specify if user class path should be first. This class loader delegates getting/finding resources to parent loader, which makes sense until REPL never provide resource dynamically.
Note: ClassLoader will preferentially load class from parent. Only when parent is null or the load failed, that it will call the overridden
findClassfunction. To avoid the potential issue caused by loading class using inappropriate class loader, we should set the parent of ClassLoader to null, so that we can fully control which class loader is used. For detailed discussion, see SPARK-18646.