"Gandalf" UBUNTU14 Server + Hadoop2.2.0 environment Sqoop1.99.3 deployment record

Source: Internet
Author: User
Tags sqoop

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

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.