Thanks for this. I have had issues all day installing spark. Finally followed your instructions and got it to work. Unfornatly, when I closed the terminal and tried to run “spark-shell” I get the error below:
/usr/local/Cellar/apache-spark/2.1.0/libexec/bin/spark-shell: line 57: /usr/local/Cellar/apache-spark/2.0.1/libexec/bin/spark-submit: No such file or directory.
This is really confusing for me as it was working fine before I closed the terminal