How to Install Hadoop Cluster on Ubuntu – Part 2

Replace Setting all hadoop host machine

You have to same Setting all Data node
1. install ssh, java
2. /etc/hosts add each hadoop host
3. Create Hadoop user and copy key for login not passwd
4. Input Hadoop Configuration path

Change hostname

Each Hadoop host need to change hostname

nano /etc/hostname

Copy ssh key of hadoop user on master node

We have to copy ssh key for make sure that the name node has a password less access to them

ssh-copy-id -i ~/.ssh/id_rsa.pub hadoop@hadoop2
ssh-copy-id -i ~/.ssh/id_rsa.pub hadoop@hadoop3
Facebook Comments

Leave A Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.