I was trying to run spark-submit and I get
\"Failed to find Spark assembly JAR.
You need to build Spark before running this program.\"
When I try to run spark-shell
If you are running windows then make sure that SPARK_HOME and SCALA_HOME environment variables are setup right. SPARK_HOME should be pointing to {SPARK_HOME}\bin\spark-shell.cmd