Hadoop 2.6.0 Setup for Mac Yosemite

Posted on Updated on

The most useful blog is in this blog:


In this article, each problem you might run into during setup has been clearly clarified and if still stuck, please go through the comments, some clues might come up! I actually followed each step and got my Hadoop running as expected!

Key steps are as follows:

$ brew install hadoop
# Hadoop will be installed in the following directory
# /usr/local/Cellar/hadoop
$ hdfs namenode -format
# SSH Localhost:
$ ssh-keygen -t rsa

Authorize SSH Keys

$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ ssh localhost
Last login: Fri Mar  6 20:30:53 2015
$ exit

# Start and stop Hadoop
$ hstart
$ hstop

# Sample PI test
$ hadoop jar  pi 10 100

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s