The first step. Download, unzip, configure environment variables:Official website Download sqoop1.99.3http://mirrors.cnnic.cn/apache/sqoop/1.99.3/
Unzip the Sqoop to the target folder, mine is/home/fulong/sqoop/sqoop-1.99.3-bin-hadoop200
To configure environment variables:Export sqoop_home=/home/fulong/sqoop/sqoop-1.99.3-bin-hadoop200export path= $PATH: $SQOOP _home/binexport catalina_base= $SQOOP _home/serverexport logdir= $SQOOP _home/logs/
The second step, change the configuration file:
To change the configuration file catalina.properties:Vim $SQOOP _home/server/conf/catalina.properties found in the file.Common.loader, followed by a Hadoop-related jar-package path, finally results such as the followingcommon.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*. jar,${catalina.home}/. /lib/*.jar,/home/fulong/hadoop/hadoop-2.2.0/share/hadoop/common/*.jar,/home/fulong/hadoop/hadoop-2.2.0/share/ hadoop/common/lib/*.jar,/home/fulong/hadoop/hadoop-2.2.0/share/hadoop/hdfs/*.jar,/home/fulong/hadoop/ hadoop-2.2.0/share/hadoop/hdfs/lib/*.jar,/home/fulong/hadoop/hadoop-2.2.0/share/hadoop/mapreduce/*.jar,/home/ fulong/hadoop/hadoop-2.2.0/share/hadoop/mapreduce/lib/*.jar,/home/fulong/hadoop/hadoop-2.2.0/share/hadoop/ tools/*.jar,/home/fulong/hadoop/hadoop-2.2.0/share/hadoop/tools/lib/*.jar,/home/fulong/hadoop/hadoop-2.2.0/ Share/hadoop/yarn/*.jar,/home/fulong/hadoop/hadoop-2.2.0/share/hadoop/yarn/lib/*.jar
To change the configuration file sqoop.properties:
"Gandalf" UBUNTU14 Server + Hadoop2.2.0 environment Sqoop1.99.3 deployment record