当前位置:网站首页>Sqoop installation
Sqoop installation
2022-07-05 02:45:00 【A vegetable chicken that is working hard】
1. download
2. Move to Linux, decompression , rename

- 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. Configure environment variables
- 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. To configure sqoop/conf/sqoop-env.sh
- cd /usr/local/sqoop147/conf
- cp sqoop-env-template.sh sqoop-env.sh

5. Import mysql8 Drive file to Sqoop Of lib Next
- Go to the previously saved drive warehouse to find

6.sqoop.jar Put in Hadoop Of lib Next


7. test sqoop
- success

- View warnings



边栏推荐
- Simple use of devtools
- openresty ngx_ Lua variable operation
- Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
- 平台入驻与独立部署优缺点对比
- Devtools的簡單使用
- How to find hot projects in 2022? Dena community project progress follow-up, there is always a dish for you (1)
- Bert fine tuning skills experiment
- Utilisation simple de devtools
- Vb+access hotel service management system
- 2022/02/13
猜你喜欢

丸子百度小程序详细配置教程,审核通过。

单项框 复选框

Introduce reflow & repaint, and how to optimize it?

Single box check box

Master Fur

Zabbix

The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!

Naacl 2021 | contrastive learning sweeping text clustering task

openresty ngx_ Lua execution phase

Apache build web host
随机推荐
[micro service SCG] 33 usages of filters
Port, domain name, protocol.
Hmi-32- [motion mode] add light panel and basic information column
Design and implementation of high availability website architecture
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Tiny series rendering tutorial
1.五层网络模型
[technology development-26]: data security of new information and communication networks
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Unpool(nn.MaxUnpool2d)
Avoid material "minefields"! Play with super high conversion rate
Design and implementation of campus epidemic prevention and control system based on SSM
Day_ 17 IO stream file class
2021 Li Hongyi machine learning (3): what if neural network training fails
Pytest (4) - test case execution sequence
Avoid material "minefields"! Play with super high conversion rate
Learn game model 3D characters, come out to find a job?
打破信息茧房-我主动获取信息的方法 -#3
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
The database and recharge are gone