当前位置:网站首页>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
边栏推荐
- Remember the use of add method once
- How to judge the quality of primary market projects when the market is depressed?
- Blender multi lens (multi stand) switching
- 【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
- 02-taildir source
- Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
- Blender海洋制作
- 2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules
- ERROR 1118 (42000): Row size too large (> 8126)
- Blender体积雾
猜你喜欢

SAP Spartacus express checkout design

虛幻AI藍圖基礎筆記(萬字整理)

Blender模型导入ue、碰撞设置

UE4 night lighting notes

Blender石头雕刻

UE4夜间打光笔记

ICLR 2022: how does AI recognize "things I haven't seen"?

Notes de base sur les plans illusoires d'IA (triés en 10 000 mots)

The primary market project galaxy will conduct public offering on coinlist on February 17

Understand the composition of building energy-saving system
随机推荐
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
Unreal material editor foundation - how to connect a basic material
Metaclass type and using metaclass to implement model class ORM
Blender摄像机环绕运动、动画渲染、视频合成
2021-10-04
2021-10-04
MPLS experiment
[jetbrain rider] an exception occurred in the construction project: the imported project "d:\visualstudio2017\ide\msbuild\15.0\bin\roslyn\microsoft.csh" was not found
测试--面试题总结
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
Project practice, redis cluster technology learning (IX)
2837xd code generation module learning (1) -- GPIO module
Blender multi lens (multi stand) switching
ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林
Vscode auto format
Pytest learning --base
Nonlinear optimization: steepest descent method, Newton method, Gauss Newton method, Levenberg Marquardt method
网络通信学习
MySQL -- time zone / connector / driver type