Sqoop-1.99.7 installation, configuration

Source: Internet
Author: User
Tags root directory sqoop
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.