Homebrew tap for archived versions of Apache Spark
brew tap eddies/spark-tap
brew install apache-spark@VERSION_NUMBER
If you need to set SPARK_HOME
, use $(brew --prefix apache-spark@VERSION_NUMBER)/libexec
, e.g.:
export SPARK_HOME=$(brew --prefix [email protected])/libexec
brew search apache-spark@
PRs welcome!
In general, try to base your PR on an apache-spark formula from homebrew/core, substituting the url mirror in the formula with one from https://archive.apache.org/dist/spark/.