当前位置:网站首页>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



边栏推荐
- ELFK部署
- Last week's hot review (2.7-2.13)
- openresty ngx_lua变量操作
- Learn game model 3D characters, come out to find a job?
- Azkaban安装部署
- Sqoop安装
- Bumblebee: build, deliver, and run ebpf programs smoothly like silk
- 单项框 复选框
- Design and implementation of kindergarten management system
- Bert fine tuning skills experiment
猜你喜欢

Why are there fewer and fewer good products produced by big Internet companies such as Tencent and Alibaba?

Apache Web page security optimization

Problem solving: attributeerror: 'nonetype' object has no attribute 'append‘

Single line function*

Yolov5 model training and detection

Idea inheritance relationship

ELK日志分析系统

Application and Optimization Practice of redis in vivo push platform

el-select,el-option下拉选择框

qrcode:将文本生成二维码
随机推荐
返回二叉树中两个节点的最低公共祖先
Elfk deployment
Day_ 17 IO stream file class
Talk about the things that must be paid attention to when interviewing programmers
Sqoop安装
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
单项框 复选框
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
openresty ngx_ Lua variable operation
Pytorch register_ Hook (operate on gradient grad)
Structure of ViewModel
Six stone programming: advantages of automated testing
Returns the lowest common ancestor of two nodes in a binary tree
Leetcode takes out the least number of magic beans
openresty ngx_lua变量操作
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
Application and Optimization Practice of redis in vivo push platform