当前位置:网站首页>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
边栏推荐
- PyTorch搭建LSTM实现服装分类(FashionMNIST)
- ORB-SLAM2不同线程间的数据共享与传递
- Leetcode739 每日温度
- Differences between nodes and sharding in ES cluster
- Time format display
- (C语言)输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。
- Leetcode122 买卖股票的最佳时机 II
- Orb-slam2 data sharing and transmission between different threads
- CDA data analysis -- common knowledge points induction of Excel data processing
- Error in kubeadm join: [error port-10250]: port 10250 is in use [error fileavailable--etc kubernetes PKI
猜你喜欢

自然语言处理系列(三)——LSTM

MySQL and PostgreSQL methods to grab slow SQL

记录一下MySql update会锁定哪些范围的数据

堆(優先級隊列)

Experiment of connecting mobile phone hotspot based on Arduino and esp8266 (successful)

Read the Flink source code and join Alibaba cloud Flink group..

Go learning notes - multithreading
![[QT] Qt development environment installation (QT version 5.14.2 | QT download | QT installation)](/img/18/f0c9ef6250a717f8e66c95da4de08c.jpg)
[QT] Qt development environment installation (QT version 5.14.2 | QT download | QT installation)

Tas (file d'attente prioritaire)

Docker-compose配置Mysql,Redis,MongoDB
随机推荐
This article takes you to understand the operation of vim
Sub thread get request
drools执行指定的规则
Leetcode209 长度最小的子数组
Lekao: contents of the provisions on the responsibility of units for fire safety in the fire protection law
单指令多数据SIMD的SSE/AVX指令集和API
[C language] Yang Hui triangle, customize the number of lines of the triangle
How does Premiere (PR) import the preset mogrt template?
高德地图测试用例
【C语言】十进制数转换成二进制数
Multiply LCA (nearest common ancestor)
Test shift left and right
Jenkins用户权限管理
SCM power supply
MySQL and PostgreSQL methods to grab slow SQL
Mysql database foundation
From scratch, develop a web office suite (3): mouse events
Sort---
子线程获取Request
输入一个三位的数字,输出它的个位数,十位数、百位数。
