Run the Spark Shell in Standalone Mode

Procedure

To run the Spark shell, use the following command:
MASTER=spark://<Spark Master node hostname>:7077 /opt/mapr/spark/spark-<version>/bin/spark-shell