Download Multinode Hadoop Cluster Setup on Centos Gopalnew PDF

TitleMultinode Hadoop Cluster Setup on Centos Gopalnew
File Size263.6 KB
Total Pages8
Document Text Contents
Page 5

[email protected]:~$ ssh slave
It will ask for yes or no and you should type 'yes'




We should be able to SSH master and SSH slave without password prompt.
If it asks for password while connecting to master or slave using SSH, there is
something went wrong and you need to fix it before proceeding further.


Without having the password less SSH working properly, the hadoop cluster will not

work, so there is no point in going further if password less SSH is not working. If you

face any issues with SSH, consult Google University, there copious available.



STEP 9: Turn off the iptables



You need to stop the iptables(firewalls) so that one node can communicate with
other.


#Stop firewall on master [email protected]:~$
sudo service iptables stop




Run the below command to have the iptables stopped even after system reboot.




[email protected]:~$sudo chkconfig iptables off



#Stop firewall on slave [email protected]:~$
sudo service iptables stop




Run the below command to have the iptables stopped even after system reboot.




[email protected]:~$sudo chkconfig iptables off




STEP 10: Update master and slave files Of conf directory



On master node, update the masters and slaves files On
master node terminal

Type nano /usr/local/hadoop/conf/masters
Enter ‘master’ and save the files

Similer Documents