Installation of Hadoop

  • (4.0)
  • | 807 Ratings |
  • Last Updated January 02, 2017

Installation of Cent OS:-

  Log on to vsphere

  Select your Operating System.

    Right click and select open console

    noof from CD-ROM

    Select Install and upgrade option

    Click on Enter key

    Click on skip


    Select the language English


    Provide the Host name and click on next

   Select the time zone and click on next

     Provide the Password for root and click on next

   Select create custom layout button

    Select free and click on create

    Select standard portion and click on create

    Select Mount point as/and file system type as exit and size zoogb

   Click on OK

    Click on OK

     Again select free and click on create

    Select file system as swap and size 30GB(RAM X3)

    Click on OK

    Click on Next

    Click on Next

    Select basic server and customize now

    Click on Next

    Select Applications as required.

    Select base system and disable Java platform

   Select Development and Select eclipse and default

    Select Desktops as required

    Click on Next

    After Installation, click on Reboot.

    To login, select other and enter password

    OS is ready to install Hadoop.

 Installation of Cent OS

Learn how to use Hadoop, from beginner basics to advanced techniques, with online video tutorials taught by industry experts. Enroll for Free Hadoop Training Demo!

Setting IP Address:-

    After login as root,

    Go to system preferences Network connections

    Click on add and provide connection name and IP Address, Network, gateway and DNS Servers.

    Click on OK

Adding EFC hostname:-

    Login as root user

    Open the terminal

  Cmd: cd/
  Cmd: cd/etc/init.d/
  Cmd: :/network restart
  Cmd: host name

   To check host name

Frequently asked Hadoop Interview Questions

Disable the fire wall:-

Cmd: service ip tables save

    Cmd: service ip tables stop

    Cmd: service ip tables save

    Cmd: service ip tables stop

   Cmd: chk config ip tables off

    Cmd: chk con fig ip tables off

    Cmd: set enforce o

Cmd: java

Cmd: javac                    ae used to check Java version

Cmd: java-version

Installation of Hadoop

Creation of user:-

    Login as root user

    Go to system Administrator Users and groups

    Click on add user

    Provide the name and click on OK

    Click on add group

    Provide the name and click on OK

    Add the user to the group

Configuration of SSH:-

    Login as root user(i.e object)

    Open terminal

Cmd: ssh-key gen-t vsa-f~/.ssh/id-rsa
Cmd: cat~/.ssh/>>~/.ssh/ autorised-keys

Installation of Hadoop

   Download CDH3 repository from Hadoop cloudera

  Cmd: ls

 Cmd: ehmod R 777 cldh3 repository -1.0-1. Noarch. Rpm.

  Cmd: sudo yum –nog pg check location stall cdh3-tepositors-1.0-1.noarch.rpm

   Adding the user (object ) in sudo eras.

  Cmd: vi/etc/sudo

  In the file add the object user next to the root.

  Install Hadoop

  Cmd: sudo yum Install Hadoop=0.20 no arch

  Cmd: sudo yum Install Hadoop=0.20 –conf-pseudo.noarch

  Now, the hadoop and its daemons are installed.

Installation of Java:-

   Download the jdk 1.6.0-26 java version. For Unix,

  Login as root user

  Cmd: chmod –R 777 jdk-6426-linux- X64-rpm.bin

  Giving the permissions.

 To extract the bin

Cod:./jdk- 6426-linux-x64-rpm.bin

  Java will be installed.

  To set the environmental variables

Cmd: export JAVA-HOME=/Usr/java/jdk1.6.0-26/
Cmd: export PATH=$ JAVA-HOME/bin:$ PATH

  To check the Java version

Cmd: java-version

  Cmd:/etc/profile[to make permant]

  Copy the above commands in this file and save.

Explore Hadoop Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!

List of Other Big Data Courses:

 Hadoop Adminstartion  MapReduce
 Big Data On AWS  Informatica Big Data Integration
 Bigdata Greenplum DBA  Informatica Big Data Edition
 Hadoop Hive  Impala
 Hadoop Testing  Apache Mahout


Subscribe For Free Demo

Free Demo for Corporate & Online Trainings.