当前位置:网站首页>Adding database driver to sqoop of cdh6
Adding database driver to sqoop of cdh6
2022-07-02 12:14:00 【Small base o_ O】
List of articles
scene
CDH6.3.2 After installation , The default is Sqoop, And the environment variables are all configured

Because it was originally installed CDH When the
mysql-connector-java.jarPut it in/usr/share/java/, therefore Sqoop By default, you can connect MySQL
The data center is not only connected MySQL, There are other data sources , It may not be able to connect directly , You need to configure the corresponding database connector
Add database driver
cd /opt/cloudera/parcels/CDH/lib/sqoop/lib
Put the database connector here , Let's say
SAP / HANAFor example
1、 Download driver , I am with the help of DBeaver To download
2、 Find the driver , And upload
- because Sqoop Support Direct connection MySQL, So even MySQL There is no need to configure
--driver
Some databases cannot be directly connected , evenSAP / HANAPlus when--driver com.sap.db.jdbc.Driver
Add
/opt/cloudera/parcels/CDHIt's a soft chain , the truth is thatCDH-6.3.2-1.cdh6.3.2.p0.1605554
/usr/bin/sqoopIt's a soft chain
the truth is that/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/bin/sqoop
The contents are as follows :
Actually implement/opt/cloudera/parcels/CDH/lib/sqoop/Insidebin/sqoop
边栏推荐
- ThreadLocal的简单理解
- MySQL and PostgreSQL methods to grab slow SQL
- [old horse of industrial control] detailed explanation of Siemens PLC TCP protocol
- Jenkins用户权限管理
- Input a three digit number and output its single digit, ten digit and hundred digit.
- 【工控老马】西门子PLC Siemens PLC TCP协议详解
- Orb-slam2 data sharing and transmission between different threads
- 寻找二叉树中任意两个数的公共祖先
- On data preprocessing in sklearn
- 记录一下MySql update会锁定哪些范围的数据
猜你喜欢

Jenkins user rights management

Tas (file d'attente prioritaire)

Go learning notes - multithreading

机械臂速成小指南(七):机械臂位姿的描述方法

Discrimination of the interval of dichotomy question brushing record (Luogu question sheet)

arcgis js 4. Add pictures to x map

Heap (priority queue)

基于Arduino和ESP8266的Blink代码运行成功(包含错误分析)

Jenkins用户权限管理

Performance tuning project case
随机推荐
还不会安装WSL 2?看这一篇文章就够了
Jenkins user rights management
(C language) input a line of characters and count the number of English letters, spaces, numbers and other characters.
CDA数据分析——Excel数据处理的常见知识点归纳
全链路压测
CDA数据分析——AARRR增长模型的介绍、使用
输入一个三位的数字,输出它的个位数,十位数、百位数。
考研英语二大作文模板/图表作文,英语图表作文这一篇就够了
自然语言处理系列(三)——LSTM
SVO2系列之深度滤波DepthFilter
Le tutoriel F - String le plus facile à comprendre de l'histoire.
[C language] Yang Hui triangle, customize the number of lines of the triangle
子线程获取Request
求16以内正整数的阶乘,也就是n的阶层(0=<n<=16)。输入1111退出。
Go学习笔记—基于Go的进程间通信
使用Sqoop把ADS层数据导出到MySQL
jenkins 凭证管理
Tas (file d'attente prioritaire)
drools执行完某个规则后终止别的规则执行
怎样写一篇赏心悦目的英文数学论文
