7.1 Setup sqoop

7.1.1 download

http://apache.mirror.vexxhost.com/sqoop/1.4.6/

7.1.2 installation

$tar -xvf sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz

mv sqoop-1.4.6.bin__hadoop-2.0.4-alpha /usr/lib/sqoop

7.1.3 Config sqoop

[root@xie1 conf]# cat sqoop-env.sh

Set Hadoop-specific environment variables here.

Set path to where bin/hadoop is available

export HADOOP_COMMON_HOME=/opt/hadoop/hadoop-2.7.2

Set path to where hadoop-*-core.jar is available

export HADOOP_MAPRED_HOME=/opt/hadoop/hadoop-2.7.2

results matching ""

    No results matching ""