Note: The process described in configuring sqoop1.99.7 in this article is based on the configuration of Hadoop.
One, can refer to the installation Environment Description
Apache Hadoop2.6.1
Sqoop1.99.7
centos6.5
MySQL Server 5.6
Second, Sqoop2 download
Directly on Sqoop official website http://mirrors.hust.edu.cn/apache/sqoop/1.99.7/
Select the bin version of the Sqoop2 1.99.7, this version has been compiled, no need to make any changes.
Three, unpack the installation package
TAR-XZVF sqoop-1.99.7-bin-hadoop200.tar.gz
MV sqoop-1.99.7-bin-hadoop200 sqoop1.99.7
iv. Configuration Sqoop
1) Configure the Sqoop root directory
#set Sqoop Env
Export sqoop_home=/export/servers/sqoop-1.99.7-bin-hadoop200
Export Path=${sqoop_home}/bin: $PATH
2) #配置第三方jar引用路径
Export sqoop_server_extra_lib= $SQOOP _home/extra
MySQL driver jar Download address: http://download.csdn.net/detail/sinat_22659313/9698733
Copy the MySQL drive jar file to the $sqoop_home/extra directory. Configure a sqoop_server_extra_lib system variable to
exportsqoop_server_extra_lib= $SQOOP _home/extra
3) Sqoop Server configuration
Configuring Sqoop.properties under the Conf directory
Org.apache.sqoop.submission.engine.mapreduce.configuration. directory=/home/hadoop/hadoop2.6.1/etc/hadoop
Enter the Hadoop path here
Iv. turning on the server
Sqoop2-server start
The JPS command appears sqoopjettyserver the process. The configuration was successful.