Sqoop Installation

The Sqoop installation is done in below versions of Linux and Hadoop


HADOOP 1.1.2

I have hduser as a dedicated hadoop system user. I had installed my Hadoop in /home/hduser/hadoop folder. Now I am going to install sqoop in /usr/lib/sqoop folder.

  •  Download sqoop from here
  •  Enter into the directory where the sqoop is downloaded. By default it downloads in “Downloads” directory
            $ cd Downloads/
  • Unzip the tar file.
            $ tar xzf sqoop-1.4.0-incubating.tar.gz
  • Move sqoop-1.4.0-incubating to sqoop
 	    $ sudo mv sqoop-1.4.0-incubating /usr/lib/sqoop
  • Set the SQOOP_HOME path in bashrc file

To open bashrc file use this command

 	    $ gedit ~/.bashrc 

In bashrc file append the below 2 statements

export SQOOP_HOME=/usr/lib/sqoop
export PATH=$PATH:$SQOOP_HOME/bin           
  • Test your installation by typing
            $ sqoop help




Note: The information provided here is best of my knowledge and experiences if at all any modifications are to be made please help me with your valuable suggestions which are always welcome…. :)