Development environment on MacOS

Pr-requisites:

If there is connection refused error, you need to properly address the port connection issue by configure firewall under

system preferences -> security and privacy->firewall

Install XCode

If your MacOS is latest release, you can install XCode from App Store; otherwise, you can download and install from developer site for older version of XCode that is compatible to your MacOS

https://stackoverflow.com/questions/44390162/download-install-xcode-version-without-premium-developer-accountarrow-up-right

Install homebrew (or brew)

Open the Terminal, enter below

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then follow the message on the screen

Download and install JDK 8

same process for Windows, except you need to download the dmg file for the MacOS

https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.htmlarrow-up-right

After install, you can find JAVA_HOME on your Mac by below command line

$(dirname $(readlink $(which javac)))/java_home

On my MacBook, it displays java home path

Append into ~/.bash_profile on my Mac

Download setup Eclipse IDE with Scala plug in

Same process as Windows installarrow-up-right

Install download utility wget

Download and install Anaconda Python 3

Same process as windowsarrow-up-right

Download and install Hadoop

Same process as Linux installarrow-up-right

Download and install HIVE

Same process as Linux installarrow-up-right

Download and install Spark

Same process as Linux installarrow-up-right

Install Python module findspark and Jupyter Spylon-kernel for Scala

Same process as Windows Installarrow-up-right

Last updated

Was this helpful?