当前位置:网站首页>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
边栏推荐
猜你喜欢
Summary and practice of knowledge map construction technology
Why are there fewer and fewer good products produced by big Internet companies such as Tencent and Alibaba?
2021 Li Hongyi machine learning (1): basic concepts
Design of kindergarten real-time monitoring and control system
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
"C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
Pytest (4) - test case execution sequence
Open source SPL optimized report application coping endlessly
Hmi-32- [motion mode] add light panel and basic information column
Exploration of short text analysis in the field of medical and health (II)
随机推荐
Spark SQL learning bullet 2
Learn game model 3D characters, come out to find a job?
Sqoop安装
2.常见的请求方法
Character painting, I use characters to draw a Bing Dwen Dwen
Introduce reflow & repaint, and how to optimize it?
openresty ngx_ Lua execution phase
GFS distributed file system
Last week's hot review (2.7-2.13)
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Kotlin - 协程 Coroutine
Tencent cloud, realize image upload
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
Structure of ViewModel
Use UDP to send a JPEG image, and UPD will convert it into the mat format of OpenCV after receiving it
Azkaban安装部署
返回二叉树中两个节点的最低公共祖先
Hmi-31- [motion mode] solve the problem of picture display of music module
丸子百度小程序详细配置教程,审核通过。