当前位置:网站首页>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
边栏推荐
- Pytest (4) - test case execution sequence
- Which common ports should the server open
- Design of kindergarten real-time monitoring and control system
- Openresty ngx Lua Execution stage
- GFS distributed file system
- Asynchronous and promise
- 低度酒赛道进入洗牌期,新品牌如何破局三大难题?
- Linux安装Redis
- From task Run get return value - getting return value from task Run
- Character painting, I use characters to draw a Bing Dwen Dwen
猜你喜欢
LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6
Zabbix
Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
Elfk deployment
8. Commodity management - commodity classification
Introduce reflow & repaint, and how to optimize it?
Introduce reflow & repaint, and how to optimize it?
Marubeni Baidu applet detailed configuration tutorial, approved.
Problem solving: attributeerror: 'nonetype' object has no attribute 'append‘
ELK日志分析系统
随机推荐
qrcode:将文本生成二维码
Six stone programming: advantages of automated testing
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
腾讯云,实现图片上传
Avoid material "minefields"! Play with super high conversion rate
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
Kotlin - coroutine
How to find hot projects in 2022? Dena community project progress follow-up, there is always a dish for you (1)
"C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
el-select,el-option下拉选择框
使用druid連接MySQL數據庫報類型錯誤
Character painting, I use characters to draw a Bing Dwen Dwen
From task Run get return value - getting return value from task Run
D3js notes
LeetCode --- 1071. Great common divisor of strings problem solving Report
Voice chip wt2003h4 B008 single chip to realize the quick design of intelligent doorbell scheme
Acwing game 58 [End]
Start the remedial work. Print the contents of the array using the pointer