当前位置:网站首页>Sqoop安装
Sqoop安装
2022-07-05 02:41:00 【一个正在努力的菜鸡】
1.下载
2.移动到Linux,解压,重命名

- tar -xvf sqoop-1.4.7.bin__hadoop-2.6.0.tar.gz
- mv sqoop-1.4.7.bin__hadoop-2.6.0 sqoop147
3.配置环境变量
- vim /etc/profile
JAVA_HOME=/usr/java/jdk1.8.0_152
JRE_HOME=/usr/java/jdk1.8.0_151/jre
HADOOP_HOME=/usr/local/hadoop-2.7.1
ZOOKEEPER_HOME=/usr/local/zookeeper-3.3.6
FLUME_HOME=/usr/local/flume-1.9.0
NGINX_HOME=/usr/local/nginx
TOMCAT_HOME=/usr/local/tomcat-8.5.81
MYSQL8_HOME=/usr/local/mysql8
SQOOP_HOME=/usr/local/sqoop147
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$ZOOKEEPER_HOME/bin:$FLUME_HOME/bin:$NGINX_HOME/sbin:$TOMCAT_HOME/bin:$MYSQL8_HOME/bin:$SQOOP_HOME/bin
export PATH CLASSPATH JAVA_HOME JRE_HOME HADOOP_HOME ZOOKEEPER_HOME FLUME_HOME NGINX_HOME TOMCAT_HOME MYSQL8_HOME SQOOP_HOME
- source /etc/profile
4.配置sqoop/conf/sqoop-env.sh
- cd /usr/local/sqoop147/conf
- cp sqoop-env-template.sh sqoop-env.sh

5.导入mysql8驱动文件到Sqoop的lib下
- 到之前保存的驱动仓库种找

6.sqoop.jar放入Hadoop的lib下


7.测试sqoop
- 成功

- 查看警告



边栏推荐
- A label making navigation bar
- [understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
- 【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
- PHP cli getting input from user and then dumping into variable possible?
- Official announcement! The third cloud native programming challenge is officially launched!
- Character painting, I use characters to draw a Bing Dwen Dwen
- 【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
- Asynchronous and promise
- Asp+access campus network goods trading platform
- Richview trvunits image display units
猜你喜欢

Character painting, I use characters to draw a Bing Dwen Dwen
![ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience](/img/22/08617736a8b943bc9c254aac60c8cb.jpg)
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
![Hmi-31- [motion mode] solve the problem of picture display of music module](/img/9c/0b25c0a41758652848aed2a269880f.jpg)
Hmi-31- [motion mode] solve the problem of picture display of music module

Vb+access hotel service management system
![[technology development-26]: data security of new information and communication networks](/img/13/10c8bd340017c6516edef41cd3bf6f.png)
[technology development-26]: data security of new information and communication networks
![[download white paper] does your customer relationship management (CRM) really](/img/e3/f130d071afb7309fdbf8a9c65b1d38.jpg)
[download white paper] does your customer relationship management (CRM) really "manage" customers?

Asynchronous and promise

Design and implementation of campus epidemic prevention and control system based on SSM

ELK日志分析系统

Video display and hiding of imitation tudou.com
随机推荐
A tab Sina navigation bar
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Why do you understand a16z? Those who prefer Web3.0 Privacy Infrastructure: nym
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
PHP cli getting input from user and then dumping into variable possible?
Eight days of learning C language - while loop (embedded) (single chip microcomputer)
Comparison of advantages and disadvantages between platform entry and independent deployment
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Summary and practice of knowledge map construction technology
Missile interception -- UPC winter vacation training match
2021 Li Hongyi machine learning (2): pytorch
Blue bridge - maximum common divisor and minimum common multiple
The steering wheel can be turned for one and a half turns. Is there any difference between it and two turns
100 basic multiple choice questions of C language (with answers) 04
GFS distributed file system
Icu4c 70 source code download and compilation (win10, vs2022)
Android advanced interview question record in 2022
Kotlin - 协程 Coroutine
Zabbix