hadoop Installation of Hadoop on ubuntu


Example

Creating Hadoop User:

sudo addgroup hadoop

Adding a user:

sudo adduser --ingroup hadoop hduser001

enter image description here

Configuring SSH:

su -hduser001
ssh-keygen -t rsa -P ""
cat .ssh/id rsa.pub >> .ssh/authorized_keys

Note: If you get errors [bash: .ssh/authorized_keys: No such file or directory] whilst writing the authorized key. Check here.

enter image description here enter image description here enter image description here

Add hadoop user to sudoer's list:

sudo adduser hduser001 sudo

enter image description here

Disabling IPv6:

enter image description here enter image description here

Installing Hadoop:

sudo add-apt-repository ppa:hadoop-ubuntu/stable
sudo apt-get install hadoop

enter image description here enter image description here