Spark Shell
- Interactive Spark Development Environment
- Scala REPL + few Spark imports and values
- Excellent tool to explore and learn Spark
- Use spark-shell to open it
- Use TAB early and often
- Switch to Mastering Apache Spark 2
SparkSession
- The entry point to Spark SQL
- ...and Spark in general these days
- spark-shell creates an instance as spark for you
- version gives you the version of Spark you use
- Used to create Datasets/DataFrames
- spark.range(numberOfRecords)
- Switch to Mastering Apache Spark 2
Databricks Cloud
- Web-based spark-shell in the cloud
- No need to install anything but the web browser
- Visit Databricks Cloud Community Edition
- Excellent tool for data scientists
Spark Submit
- Tool to submit Spark applications
- Use spark-submit shell script
- spark-shell is a Spark application submitted for execution using spark-submit
- Command-line options bring the full experience
- Switch to Mastering Apache Spark 2