concept production in category spark
appears as: production

This is an excerpt from Manning's book Spark in Action, Second Edition.
Cluster mode is used for production.
In most of the book, you will never need to install Spark because all the examples are designed to work in Spark’s local mode (see chapter 5). When you run a Spark application in local mode using Maven, Maven will download the required files the first time, and then your application will take control. Therefore, installing Apache Spark is something you want to consider only when you get closer to production or if you want to use Python or Scala in the Spark shell (see chapter 5). Nevertheless, installation of Spark is a pretty straightforward process.