Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | About

第 19 章 Apache Sqoop

目录

19.1. 安装 Sqoop
19.2. sqoop2-tool
19.2.1. verify
19.2.2. upgrade
19.3. sqoop2-shell
19.3.1. show version
19.3.2. set
19.3.2.1. server
19.3.2.2. 要设置可查看具体出错信息
19.3.3. show connector
19.3.4. link
19.3.4.1. hdfs-connector
19.3.4.2. generic-jdbc-connector
19.3.5. job
19.3.5.1. create job
19.3.5.2. show job
19.3.5.3. start job
19.3.5.4. status job
19.3.6. update
19.3.6.1. link
19.4. FAQ
19.4.1. Unable to load native-hadoop library for your platform

19.1. 安装 Sqoop

OSCM 一键安装

curl -s https://raw.githubusercontent.com/oscm/shell/master/database/apache-sqoop/sqoop-1.99.7-bin-hadoop200.sh | bash
		

		

启动 Sqoop

/srv/apache-sqoop/bin/sqoop.sh server start
		

检查 Sqoop 线程

		
[hadoop@netkiller ~]$ jps
2512 SecondaryNameNode
23729 SqoopJettyServer
2290 DataNode
871 ResourceManager
23885 Jps