I just updated Spark from 1.5.2 to 1.6.0 using Homebrew and reset my SPARK_HOME environment variable to /usr/local/Cellar/apache-spark/1.6.0 . Now, executing pyspark, it gives the resolved error.
If I go into the earlier installation directory 1.5.2 and run pyspark from there, it works fine. But starting pyspark from the installation directory 1.6.0 fails if this permission is denied.
/usr/local/Cellar/apache-spark/1.6.0/bin/load-spark-env.sh: line 2: /usr/local/Cellar/apache-spark/1.6.0/libexec/bin/load-spark-env.sh: Permission denied
/usr/local/Cellar/apache-spark/1.6.0/bin/load-spark-env.sh: line 2: exec: /usr/local/Cellar/apache-spark/1.6.0/libexec/bin/load-spark-env.sh: cannot execute: Undefined error: 0
What could be the reason for this?
linux homebrew apache-spark
septra
source share