当前位置:网站首页>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
边栏推荐
- Scientific research: are women better than men?
- The phenomenology of crypto world: Pioneer entropy
- Last week's hot review (2.7-2.13)
- Idea inheritance relationship
- Openresty ngx Lua Execution stage
- Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
- Single line function*
- When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
- 2021 Li Hongyi machine learning (3): what if neural network training fails
- 数据库和充值都没有了
猜你喜欢
Design and implementation of kindergarten management system
Acwing第 58 场周赛【完结】
Character painting, I use characters to draw a Bing Dwen Dwen
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
Android advanced interview question record in 2022
Pytest (4) - test case execution sequence
Azkaban实战
Port, domain name, protocol.
Introduce reflow & repaint, and how to optimize it?
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
随机推荐
When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
Watch the online press conference of tdengine community heroes and listen to TD hero talk about the legend of developers
Structure of ViewModel
Devtools的简单使用
Design and implementation of kindergarten management system
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
Yolov5 model training and detection
spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
Last words record
D3js notes
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Design and practice of kubernetes cluster and application monitoring scheme
Kotlin - 协程 Coroutine
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Introduce reflow & repaint, and how to optimize it?
Design of kindergarten real-time monitoring and control system
From task Run get return value - getting return value from task Run
Asp+access campus network goods trading platform
Application and Optimization Practice of redis in vivo push platform
Port, domain name, protocol.