当前位置:网站首页>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
边栏推荐
- ERROR 1118 (42000): Row size too large (> 8126)
- 【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
- Introduction and prevention of penetration test
- Translation d30 (with AC code POJ 28:sum number)
- Blender体积雾
- Merge ordered sequence
- This article takes you to learn in detail what is fiber to home FTTH
- Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
- 虚幻AI蓝图基础笔记(万字整理)
- 滲透測試的介紹和防範
猜你喜欢

pytest--之测试报告allure配置
![[Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology](/img/a9/ffd5d8000fc811f958622901bf408d.png)
[Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology

Blender摄像机环绕运动、动画渲染、视频合成

Junit5 supports suite methods

Blender体积雾
![[illusory] automatic door blueprint notes](/img/7a/14a66e5b623c7740dc91a15a328b10.png)
[illusory] automatic door blueprint notes

Vscode set JSON file to format automatically after saving
![[ue5] blueprint making simple mine tutorial](/img/87/d0bec747a6b6276d63a315f88745ec.png)
[ue5] blueprint making simple mine tutorial

Aiphacode is not a substitute for programmers, but a tool for developers

Introduction and prevention of penetration test
随机推荐
Introduction and Principle notes of UE4 material
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
ue4材质的入门和原理笔记
Blender stone carving
Post disaster reconstruction -- Floyd thought
[tutorial] how to make the Helpviewer help document of VisualStudio run independently
【Unity3D】无法正确获取RectTransform的属性值导致计算出错
pytest框架实现前后置
Tee command usage example
2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules
Application of rxjs operator withlatestfrom in Spartacus UI of SAP e-commerce cloud
网络通信学习
【虚幻】武器插槽:拾取武器
【虚幻4】UMG组件的简介与使用(更新中...)
UE4 night lighting notes
Leetcode -- the nearest common ancestor of 236 binary tree
Edge computing accelerates live video scenes: clearer, smoother, and more real-time
Commutateur Multi - lentilles Blender
Sil/pil test of matlab code generation
Mock Server基本使用方法