How to install hadoop in Ubuntu

 To install hadoop software framework for distributed storage and distributed processing of big data

Procedure:

Step 1: Install Ubuntu Server 12.04 LTS

Step 2: Update the OS by type the following the command in prompt

                        sudo apt-get update

Step 3: Install Java sudo by type the following the command in prompt

                        apt-get install openjdk-7-jdk

Step 4: Download Hadoop 1.2.1

Step 5: Untar the Hadoop tar file.

                        tar -xvzf hadoop-1.2.1.tar.gz

Step 6: Rename the extracted folder

                        mv hadoop-1.2.1 hadoop

Step 7: Type the following command to update the bash.rc file

sudo vi .bashrc

Step 8: Go to the end of line and type the following and save the file

export HADOOP_PREFIX=/home/hadoop/hadoop

export PATH=$PATH:$HADOOP_PREFIX/bin

Step 9: Execute the file by type the following

exec bash

Step 10: Inform Hadoop where is Java. Type the following command

vi /home/hadoop/hadoop/conf/hadoop-env.sh

Step 11: Append the following command at last.

export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386


Installation procedure video link

https://youtu.be/osxdX8Ut2NQ


Comments

Popular posts from this blog

How to create Animated 3d chart with R.

Linux/Unix Commands frequently used

R Programming Introduction