当前位置:网站首页>Sqoop安装
Sqoop安装
2022-07-05 02:41:00 【一个正在努力的菜鸡】
1.下载
2.移动到Linux,解压,重命名
- 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.配置环境变量
- 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.配置sqoop/conf/sqoop-env.sh
- cd /usr/local/sqoop147/conf
- cp sqoop-env-template.sh sqoop-env.sh
5.导入mysql8驱动文件到Sqoop的lib下
- 到之前保存的驱动仓库种找
6.sqoop.jar放入Hadoop的lib下
7.测试sqoop
- 成功
- 查看警告
边栏推荐
- Security level
- tuple and point
- Character painting, I use characters to draw a Bing Dwen Dwen
- Design of KTV intelligent dimming system based on MCU
- The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
- Tucson will lose more than $400million in the next year
- Collection of gmat750 wrong questions
- 【LeetCode】98. Verify the binary search tree (2 brushes of wrong questions)
- Character painting, I use characters to draw a Bing Dwen Dwen
- Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
猜你喜欢
Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
Practical case of SQL optimization: speed up your database
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Unpool(nn.MaxUnpool2d)
Tucson will lose more than $400million in the next year
Design and implementation of community hospital information system
2021 Li Hongyi machine learning (1): basic concepts
问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
随机推荐
Official announcement! The third cloud native programming challenge is officially launched!
Grpc message sending of vertx
When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Application and Optimization Practice of redis in vivo push platform
Last words record
Erreur de type de datagramme MySQL en utilisant Druid
2021 Li Hongyi machine learning (1): basic concepts
openresty ngx_lua执行阶段
Structure of ViewModel
Problem solving: attributeerror: 'nonetype' object has no attribute 'append‘
The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
[uc/os-iii] chapter 1.2.3.4 understanding RTOS
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
Go RPC call
Hmi-31- [motion mode] solve the problem of picture display of music module
平台入驻与独立部署优缺点对比
Learn game model 3D characters, come out to find a job?
Rabbit MQ message sending of vertx
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)