Install Hadoop Single node Cluster Using Hadoop 2.x
How to Install Hadoop Single node Cluster Using Hadoop 2.x, in this Tutorial one can learn how to install Hadoop with Single Node Using Hadoop 2.X. We
Prwatech the Pioneers of
Hadoop Training Sharing information about
Hadoop to Those Tech Enthusiasts who wanted to explore the technology and who wanted to Become the
Certified Big Data Developer. Are you the one who is looking for the best platform which provides information about what is the installation process of Hadoop-Single Node clustering Using Hadoop 2.x? Or the one who is looking forward to taking the advanced Certification Course from India’s Leading
Big Data Training institute? Then you’ve landed on the Right Path.
Get Clear Understand of the Installation process of Hadoop Single node Cluster Using Hadoop 2.x with India’s Leading
Hadoop Training institute. The Below mentioned Tutorial will help to Understand the detailed information about Install Hadoop-Single node Using Hadoop 2.x, so Just Follow All the Tutorials of India’s Leading Best
Big Data Training Institute and Be a Pro Hadoop Developer.
[caption id="attachment_4334" align="aligncenter" width="828"]
Install Hadoop Single node Cluster Using Hadoop 2.x[/caption]
Prerequisites:
1.Hadoop 2.7.0
2.Java-8-oracle
3.Ubuntu 12.0 or above
Process of Setting up a Single Node Cluster Using Hadoop 2.x
Update the repository
Once the update is complete go for java installation
Command :
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
♦ After java has been installed. To check whether java is installed on your system or Not give the below command:
Command: java –version
Install openssh-server
Command: sudo apt-get install openssh-server
Download Hadoop 2.7.0.tar.gz
Command: wget https://archive.apache.org/dist/hadoop/core/hadoop-2.7.0/hadoop-2.7.0.tar.gz
After downloading untar the Hadoop
Command: tar -xvf hadoop-2.7.0.tar.gz
Get into Hadoop directory
Go to Hadoop and configure the fill
Edit core-site.xml
Edit hdfs-site.xml
Edit mapred-site.xml
Edit yarn-site.xml
Edit Hadoop-env.sh
Set JAVA and HADOOP HOME in the .bashrc file
Create an ssh key:
Command: ssh-keygen -t rsa
Moving the key to authorized key
Command:cat $HOME /.ssh /id_rsa.pub>>$HOME/ .ssh/ authorized_keys
Copy the key to other host
Command: ssh-copy-id -i $HOME/.ssh/id_rsa.pub user@hostname
Now format the name node
Start all daemons
Check your daemons
Command: Jps