You are on page 1of 4

SQOOP–1.4.

6 INSTALLATION GUIDE
ON HADOOP-2.6.0
By. Mr. Gopal Krishna
Sr.Hadoop Architect
CCA 175-Spark and Hadoop Certified Consultant

STEP 1: Download SQOOP 1.4.6 tar ball (sqoop-


1.4.6.bin__hadoop-2.0.4-alpha.tar.gz) from
Apache Mirrors website:

http://redrockdigimark.com/apachemirror/sqoo
p/1.4.6/

STEP 2: Place the Downloaded Tar Ball in


‘INSTALL’ directory (Path: /home/gopalkrishna/INSTALL)

STEP 3: Extract the SQOOP Tar ball using below


command:
tar –xzvf sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz
STEP 4: After Tar File Extraction:

STEP 5: Update the bashrc file with SQOOP_HOME


& PATH variables
# Below 2 lines we have to add for SQOOP Installation
export SQOOP_HOME=/home/gopalkrishna/INSTALL/sqoop-1.4.6.bin__hadoop-2.0.4-alpha
export PATH=$PATH:$SQOOP_HOME/bin
STEP 6: To check the bashrc changes , open a
new terminal and type ‘ echo $SQOOP_HOME’

STEP 7: To Integrate with MySQL Database from


Hadoop Using SQOOP , we MUST have to place
the respective JAR file (mysql-connector-java-
5.1.38.jar) in $SQOOP_HOME/lib path

STEP 8: to Know the installed version of SQOOP


Command: sqoop version

STEP 9: to see all the available commands of


SQOOP

Command: sqoop help

You might also like