当前位置:网站首页>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
边栏推荐
- [illusory] automatic door blueprint notes
- Introduction to go language
- [Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology
- Career planning and development
- [unity3d] production progress bar - make image have the functions of filled and sliced at the same time
- What wires are suitable for wiring on bread board?
- Blender volume fog
- 滲透測試的介紹和防範
- 2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules
- Project practice, redis cluster technology learning (11)
猜你喜欢
![[illusory] weapon slot: pick up weapons](/img/a7/1e395fc9cdfd0359e7ae4d2313290d.png)
[illusory] weapon slot: pick up weapons

2837xd code generation module learning (2) -- ADC, epwm module, timer0

【虚幻4】UMG组件的简介与使用(更新中...)

Commutateur Multi - lentilles Blender

Blender体积雾

Delivery mode design of Spartacus UI of SAP e-commerce cloud

Skywalking theory and Practice
![[unreal] animation notes of the scene](/img/97/dafde0377b7c4337e1775db64ba6a4.png)
[unreal] animation notes of the scene

Pytest learning --base

Introduction et prévention des essais de pénétration
随机推荐
Blender volume fog
Leetcode -- the nearest common ancestor of 236 binary tree
[pit avoidance guide] pit encountered using ugui: the text component cannot indent the first line by two spaces
webUI自动化学习
滲透測試的介紹和防範
How does {} prevent SQL injection? What is its underlying principle?
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
2.14 is it Valentine's day or Valentine's day when the mainstream market continues to fluctuate and wait for changes?
虚幻材质编辑器基础——如何连接一个最基本的材质
How to achieve the top progress bar effect in background management projects
【leetcode】33. Search rotation sort array
How to judge the quality of primary market projects when the market is depressed?
2021-10-04
Blender model import UE, collision settings
Project practice, redis cluster technology learning (6)
Alibaba cloud ack introduction
Project practice, redis cluster technology learning (11)
ERROR 1118 (42000): Row size too large (> 8126)
AutoCAD - layer Linetype
Mock Server基本使用方法