Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Big Data Hadoop & Spark by (6.5k points)

Can anyone tell me how to install Spark on macOS?

1 Answer

0 votes
by (11.3k points)

Apache Spark can be installed on macOS via the following steps:

  • Go to https://brew.sh/ and copy the link on the website underneath ‘Install Homebrew’
  • Run the following command to update HomeBrew:

brew upgrade && brew update

  • If the Java version is not 8, run the following command:

brew cask install java8

  • Then, run the following commands:

xcode-select –install

brew install scala

brew install apache-spark

Spark-shell

If you are looking for an online course to learn Spark, check out this Apache Spark Training program by Intellipaat.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...