package repl
- Alphabetic
- Public
- All
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 because the REPL never produce resources dynamically. One exception is when getting a Class file as resource stream, in which case we will try to fetch the Class file in the same way as loading the class, so that dynamically generated Classes from the REPL can be picked up.
Note: ClassLoader will preferentially load class from parent. Only when parent is null or the load failed, that it will call the overridden
findClass
function. 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. -
class
SparkILoop extends ILoop
A Spark-specific interactive shell.
Value Members
- object Main extends Logging
- object SparkILoop