Run the Spark Shell in Standalone Mode

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