当前位置:网站首页>SQOOP 1.4.6 INSTALL
SQOOP 1.4.6 INSTALL
2022-07-02 06:36:00 【lucky乐琪】
#1、版本支撑
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、操作类型:参考方向为
RDBMS -import -> hadoop(hdfs|hive|hbase) -export -> RDBMS(mysql|oracle|...)
#3、sqoop146安装
#解压和改名
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
#修改环境配置
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、测试
mysql -u root 12345678
grant all on *.* to root@'%' identified by 'kb12kb12';
sqoop list-databases --connect jdbc:mysql://singlelucky:3306 --username root --password kb12kb12
边栏推荐
- Matlab generates DSP program -- official routine learning (6)
- [visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
- Project practice, redis cluster technology learning (6)
- [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
- Blender volume fog
- Alibaba cloud SLS log service
- The primary market project galaxy will conduct public offering on coinlist on February 17
- Test -- Summary of interview questions
- Translation d30 (with AC code POJ 28:sum number)
- Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
猜你喜欢
随机推荐
【虚幻】武器插槽:拾取武器
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
Post disaster reconstruction -- Floyd thought
How to achieve the top progress bar effect in background management projects
[ue5] blueprint making simple mine tutorial
Blender多鏡頭(多機比特)切換
MySQL index
Alibaba cloud ack introduction
Alibaba cloud SLS log service
webUI自动化学习
两数之和,求目标值
UE5——AI追逐(藍圖、行為樹)
Ue5 - ai Pursuit (Blueprint, Behavior tree)
AutoCAD - layer Linetype
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
Skywalking theory and Practice
Delivery mode design of Spartacus UI of SAP e-commerce cloud
Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
2021-10-04
Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer