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

第 22 章 Apache Sqoop

目录

22.1. 安装 Sqoop
22.2. sqoop2-tool
22.2.1. verify
22.2.2. upgrade
22.3. sqoop2-shell
22.3.1. show version
22.3.2. set
22.3.2.1. server
22.3.2.2. 要设置可查看具体出错信息
22.3.3. show connector
22.3.4. link
22.3.4.1. hdfs-connector
22.3.4.2. generic-jdbc-connector
22.3.5. job
22.3.5.1. create job
22.3.5.2. show job
22.3.5.3. start job
22.3.5.4. status job
22.3.6. update
22.3.6.1. link
22.4. FAQ
22.4.1. Unable to load native-hadoop library for your platform

22.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