Hadoop 2.6.0 Multi-Node cluster setup

I have assumed that 10.0.1.1 is my Master Node and 10.0.1.2 and 10.0.1.3 are my slaves.Now ultimately we need to assign following roles.

10.0.1.1 NameNode, DataNode  
10.0.1.2 DataNode  
10.0.1.3 DataNode

First Master node : 10.0.1.1


$ cd $HADOOP_HOME
$ mkdir -p hdfs-data
$ mkdir -p hdfs-site
$ cd etc/hadoop
$ sudo gedit hdfs-site.xml

Continue reading