当前位置:网站首页>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.jar
Put it in/usr/share/java/
, therefore Sqoop By default, you can connect MySQLThe 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 / HANA
For 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 / HANA
Plus when--driver com.sap.db.jdbc.Driver
Add
/opt/cloudera/parcels/CDH
It's a soft chain , the truth is thatCDH-6.3.2-1.cdh6.3.2.p0.1605554
/usr/bin/sqoop
It'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
边栏推荐
- Drools executes the specified rule
- CPU指令集介绍
- [QT] Qt development environment installation (QT version 5.14.2 | QT download | QT installation)
- Discrimination of the interval of dichotomy question brushing record (Luogu question sheet)
- LeetCode—<动态规划专项>剑指 Offer 19、49、60
- YYGH-BUG-05
- mysql数据库基础
- Fresh, 2022 advanced Android interview must know 100 questions (interview questions + answer analysis)
- PyTorch nn.RNN 参数全解析
- Error in kubeadm join: [error port-10250]: port 10250 is in use [error fileavailable--etc kubernetes PKI
猜你喜欢
自然语言处理系列(二)——使用RNN搭建字符级语言模型
基于Arduino和ESP8266的Blink代码运行成功(包含错误分析)
5g era, learning audio and video development, a super hot audio and video advanced development and learning classic
SparkContext: Error initializing SparkContext解决方法
SVO2系列之深度濾波DepthFilter
(C language) input a line of characters and count the number of English letters, spaces, numbers and other characters.
Natural language processing series (II) -- building character level language model using RNN
Filtre de profondeur de la série svo2
Experiment of connecting mobile phone hotspot based on Arduino and esp8266 (successful)
排序---
随机推荐
MySQL与PostgreSQL抓取慢sql的方法
Heap (priority queue)
[QT] Qt development environment installation (QT version 5.14.2 | QT download | QT installation)
【工控老马】西门子PLC Siemens PLC TCP协议详解
Lombok common annotations
Intel 内部指令 --- AVX和AVX2学习笔记
上传文件时,服务器报错:IOFileUploadException: Processing of multipart/form-data request failed. 设备上没有空间
Natural language processing series (III) -- LSTM
SSH automatically disconnects (pretends to be dead) after a period of no operation
Find the factorial of a positive integer within 16, that is, the class of n (0= < n < =16). Enter 1111 to exit.
Leetcode922 按奇偶排序数组 II
[C language] Yang Hui triangle, customize the number of lines of the triangle
Natural language processing series (I) -- RNN Foundation
CONDA common command summary
ES集群中节点与分片的区别
Leetcode topic [array] -540- single element in an ordered array
Thesis translation: 2022_ PACDNN: A phase-aware composite deep neural network for speech enhancement
Full link voltage measurement
史上最易懂的f-string教程,收藏這一篇就够了
Lekao: contents of the provisions on the responsibility of units for fire safety in the fire protection law