当前位置:网站首页>SQOOP 1.4.6 INSTALL
SQOOP 1.4.6 INSTALL
2022-07-02 10:30:00 【Lucky lucky】
#1、 Version support
1.4.6|7 => hadoop 2.X + hive 1.X + hbase 1.X
=> hadoop 3.1.3 + hive 3.1.2 + hbase 2.3.5(not support)
#2、 Operation type : The reference direction is
RDBMS -import -> hadoop(hdfs|hive|hbase) -export -> RDBMS(mysql|oracle|...)
#3、sqoop146 install
# Unzip and rename
tar -zxvf /opt/download/hadoop/sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz -C /opt/software/
mv /opt/software/sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz /opt/software/sqoop146
# Modify the environment configuration
vim /etc/profile.d/myenv.sh
#sqoop
export SQOOP_HOME=/opt/software/sqoop146
export LOGDIR=$SQOOP_HOME/logs
export PATH=$SQOOP_HOME/bin:$PATH
source /etc/profile
vim sqoop-env.sh
export HADOOP_COMMON_HOME=/opt/software/hadoop313
export HADOOP_MAPRED_HOME=/opt/software/hadoop313
export HBASE_HOME=/opt/software/hbase235
export HIVE_HOME=/opt/software/hive312
export ZOOCFGDIR=/opt/software/zookeeper357
#4、 test
mysql -u root 12345678
grant all on *.* to root@'%' identified by 'kb12kb12';
sqoop list-databases --connect jdbc:mysql://singlelucky:3306 --username root --password kb12kb12
边栏推荐
- Project practice, redis cluster technology learning (13)
- Operator exercises
- Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
- sqoop创建job出现的一系列问题解决方法
- 虚幻材质编辑器基础——如何连接一个最基本的材质
- ERROR 1118 (42000): Row size too large (> 8126)
- Edge computing accelerates live video scenes: clearer, smoother, and more real-time
- 【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
- 判断数组中是否存在重复元素
- Network real-time video streaming based on OpenCV
猜你喜欢
01安装虚拟机
Sil/pil test of matlab code generation
Flink实时计算topN热榜
测试--面试题总结
Tee command usage example
Brief analysis of edgedb architecture
Aiphacode is not a substitute for programmers, but a tool for developers
虛幻AI藍圖基礎筆記(萬字整理)
【虚幻】过场动画笔记
Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
随机推荐
This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
虚幻AI蓝图基础笔记(万字整理)
Metaclass type and using metaclass to implement model class ORM
How much is it to develop a system software in Beijing, and what funds are needed to develop the software
Network real-time video streaming based on OpenCV
Basic notes of illusory AI blueprint (10000 words)
Applet development summary
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
02-taildir source
ICLR 2022: how does AI recognize "things I haven't seen"?
【虚幻4】UMG组件的简介与使用(更新中...)
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
The primary market project galaxy will conduct public offering on coinlist on February 17
[Fantasy 4] introduction and use of UMG components (under update...)
How to judge the quality of primary market projects when the market is depressed?
UE5——AI追逐(蓝图、行为树)
How does {} prevent SQL injection? What is its underlying principle?
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
Edge computing accelerates live video scenes: clearer, smoother, and more real-time
Nonlinear optimization: establishment of slam model