当前位置:网站首页>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 a simple Oracle offline data migration to tidb process
- UE4夜间打光笔记
- 传输优化抽象
- Project practice, redis cluster technology learning (12)
- Aiphacode is not a substitute for programmers, but a tool for developers
- [unity3d] cannot correctly obtain the attribute value of recttransform, resulting in calculation error
- How does {} prevent SQL injection? What is its underlying principle?
- Metaclass type and using metaclass to implement model class ORM
- Pytest framework implements pre post
- Edge computing accelerates live video scenes: clearer, smoother, and more real-time
猜你喜欢

pytest学习--base

【虚幻】过场动画笔记

判断数组中是否存在重复元素

AutoCAD - layer Linetype

Allure -- common configuration items

Blender模型导入ue、碰撞设置

Blender多鏡頭(多機比特)切換

Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt

【虚幻4】UMG组件的简介与使用(更新中...)
![[Fantasy 4] introduction and use of UMG components (under update...)](/img/33/7e3b74192b7fd73d5145f85e061d1f.png)
[Fantasy 4] introduction and use of UMG components (under update...)
随机推荐
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
Translation d30 (with AC code POJ 28:sum number)
Leetcode -- the nearest common ancestor of 236 binary tree
Blender model import UE, collision settings
UE5——AI追逐(蓝图、行为树)
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
Tee command usage example
Network real-time video streaming based on OpenCV
Basic usage of mock server
Project practice, redis cluster technology learning (10)
Blender stone carving
Message mechanism -- getting to know messages and message queues for the first time
Redis set password
Vscode set JSON file to format automatically after saving
flume 190 INSTALL
pytest框架实现前后置
Determine whether there are duplicate elements in the array
Merge ordered sequence
2021-10-02
UE5——AI追逐(藍圖、行為樹)