当前位置:网站首页>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
- 成功
- 查看警告
边栏推荐
- Naacl 2021 | contrastive learning sweeping text clustering task
- Cut! 39 year old Ali P9, saved 150million
- Good documentation
- ELFK部署
- Prometheus monitors the correct posture of redis cluster
- College Students' innovation project management system
- Blue bridge - maximum common divisor and minimum common multiple
- Pytorch register_ Hook (operate on gradient grad)
- Action News
- Rabbit MQ message sending of vertx
猜你喜欢
Icu4c 70 source code download and compilation (win10, vs2022)
Acwing第 58 场周赛【完结】
spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
Vb+access hotel service management system
The steering wheel can be turned for one and a half turns. Is there any difference between it and two turns
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
Apache Web page security optimization
[200 opencv routines] 99 Modified alpha mean filter
Asp+access campus network goods trading platform
2021 Li Hongyi machine learning (1): basic concepts
随机推荐
Marubeni Baidu applet detailed configuration tutorial, approved.
Yolov5 model training and detection
The phenomenology of crypto world: Pioneer entropy
Traditional chips and AI chips
D3js notes
Pytest (4) - test case execution sequence
Three properties that a good homomorphic encryption should satisfy
Process scheduling and termination
Leetcode takes out the least number of magic beans
Bert fine tuning skills experiment
[micro service SCG] 33 usages of filters
Design and implementation of high availability website architecture
2022/02/13
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
[technology development-26]: data security of new information and communication networks
Official announcement! The third cloud native programming challenge is officially launched!
spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
使用druid連接MySQL數據庫報類型錯誤
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
Good documentation