Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

第 21 章 Apache Sqoop

目錄

21.1. 安裝 Sqoop
21.2. sqoop2-tool
21.2.1. verify
21.2.2. upgrade
21.3. sqoop2-shell
21.3.1. show version
21.3.2. set
21.3.2.1. server
21.3.2.2. 要設置可查看具體出錯信息
21.3.3. show connector
21.3.4. link
21.3.4.1. hdfs-connector
21.3.4.2. generic-jdbc-connector
21.3.5. job
21.3.5.1. create job
21.3.5.2. show job
21.3.5.3. start job
21.3.5.4. status job
21.3.6. update
21.3.6.1. link
21.4. FAQ
21.4.1. Unable to load native-hadoop library for your platform

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