tree: b67fe5b87df1c2bc8dcc7ff234737e06f0301465 [path history] [tgz]
  1. interpreter/
  2. scala-2.11/
  3. scala-2.12/
  4. scala-2.13/
  5. spark-scala-parent/
  6. spark-shims/
  7. spark2-shims/
  8. spark3-shims/
  9. pom.xml
  10. README.md
spark/README.md

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.11
    • Scala module for Scala 2.11
  • scala-2.12
    • Scala module for Scala 2.12
  • scala-2.13
    • Scala module for Scala 2.13
  • spark-shims
    • Parent module for each Spark module
  • spark2-shims
    • Shims module for Spark2
  • spark3-shims
    • Shims module for Spark3