blob: 4f8405ac53383c7e428d46b8c4e35cffaa23536d [file] [log] [blame] [view]
# Spark Interpreter
Spark interpreter is the first and most important interpreter of Zeppelin. It supports multiple versions of Spark and multiple versions of Scala.
# Module structure of Spark interpreter
* interpreter
- This module is the entry module of Spark interpreter. All the interpreters are defined here. SparkInterpreter is the most important one,
SparkContext/SparkSession is created here, other interpreters (PySparkInterpreter,IPySparkInterpreter, SparkRInterpreter and etc) are all depends on SparkInterpreter.
Due to incompatibility between Scala versions, there are several scala-x modules for each supported Scala version.
Due to incompatibility between Spark versions, there are several spark-shims modules for each supported Spark version.
* spark-scala-parent
- Parent module for each Scala module
* scala-2.12
- Scala module for Scala 2.12
* scala-2.13
- Scala module for Scala 2.13
* spark-common
- Common utils for all Scala versions