当前位置:网站首页>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
边栏推荐
- 【教程】如何让VisualStudio的HelpViewer帮助文档独立运行
- Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
- 2021-09-12
- Commutateur Multi - lentilles Blender
- The primary market project galaxy will conduct public offering on coinlist on February 17
- Blender体积雾
- Webui automated learning
- MySQL -- time zone / connector / driver type
- 【leetcode】33. Search rotation sort array
- Introduction et prévention des essais de pénétration
猜你喜欢

Sum the two numbers to find the target value

Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer

07数据导入Sqoop
![[unreal] key to open the door blueprint notes](/img/28/f2b00d84dc05183ce93e2a8ee3555f.png)
[unreal] key to open the door blueprint notes

Ue5 - ai Pursuit (Blueprint, Behavior tree)

VLAN experiment

This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404

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

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

【UE5】AI随机漫游蓝图两种实现方法(角色蓝图、行为树)
随机推荐
Translation d30 (with AC code POJ 28:sum number)
ERROR 1118 (42000): Row size too large (> 8126)
Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
Alibaba cloud SMS service
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
What wires are suitable for wiring on bread board?
2837xd code generation module learning (1) -- GPIO module
VLAN experiment
2021-10-04
[200 Shengxin literatures] 95 multiomics exploration TNBC
How to judge the quality of primary market projects when the market is depressed?
2021-10-02
Webui automated learning
Basic usage of mock server
Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
Blender体积雾
Project practice, redis cluster technology learning (VIII)
Merge ordered sequence
Junit5 supports suite methods
Blender海洋制作