当前位置:网站首页>Spark and mysql:did not find registered driver with class com mysql. jdbc. Driver
Spark and mysql:did not find registered driver with class com mysql. jdbc. Driver
2022-06-22 16:47:00 【ZH519080】
CDH-5.8.3 On the cluster spark-submit --master yarn... When you submit a task , When using mysql-connector-java-5.1.40-bin.jar etc. jar The following problems may occur when packaging :
Did not find registered driver with class com.mysql.jdbc.Driver
Solution :
Every node (master Nodes and slave node ) hold mysql-connector-java-5.1.40-bin.jar copy to HADOOP_YARN_HOME Next .
CDH-5.8.3 Component's HOME route :/opt/cloudera/parcels/CDH-5.8.3-1.cdh5.8.3.p0.2
HADOOP_YARN_HOME Of jar Package path :
/opt/cloudera/parcels/CDH-5.8.3-1.cdh5.8.3.p0.2/lib/hadoop-yarn
At each node (master and slave) Zhongba mysql-connector-java-5.1.40-bin.jar Copied to the /opt/cloudera/parcels/CDH-5.8.3-1.cdh5.8.3.p0.2/lib/hadoop-yarn/ Under the path .
边栏推荐
- SAP script tutorial: se71, se78, SCC1, vf03, so10-013
- [wechat applet custom bottom tabbar]
- linux系统维护篇:mysql8.0.13源码下载及安装之“傻瓜式”操作步骤(linux-centos6.8)亲测可用系列
- 联合主键引发的思考
- Task scheduling design of collection system
- Bidirectional data binding V-model and v-decorator
- Modularity in SAP ABAP: macros, subroutines and function modules -04
- Vs2017 solution to not displaying qstring value in debugging status
- spark关于数据倾斜问题
- 调用cmd 进程通信
猜你喜欢

每秒处理10万高并发订单的乐视集团支付系统架构分享

华为云招募工业智能领域合作伙伴,强力扶持+商业变现
![[C language] deeply analyze the relationship between pointer and array](/img/f3/432eeee17034033361e05dde67aac3.jpg)
[C language] deeply analyze the relationship between pointer and array

JSP learning (2) -- JSP script elements and instructions

jsp学习之(三)--------- jsp隐式对象

LETV group payment system architecture sharing for processing 100000 high concurrent orders per second

VHEDT业务发展框架
![[C language] deeply analyze the storage of integer and floating-point types in memory](/img/8b/12a4dc7a0c0e34e2add007592971dd.jpg)
[C language] deeply analyze the storage of integer and floating-point types in memory

Linux system maintenance: mysql8.0.13 source code download and installation "fool" operation steps (Linux centos6.8) test available series

【C语言深度解剖】关键字if&&else&&bool类型
随机推荐
[C language] deeply analyze the relationship between pointer and array
ABAP query tutorial in sap: sq01, sq02, sq03-017
接口幂等性设计
【C语言】深度剖析整型和浮点型在内存中的存储
Spark性能调优之道——解决Spark数据倾斜(Data Skew)的N种姿势
调用cmd 进程通信
jsp学习之(三)--------- jsp隐式对象
【微信小程序自定义底部tabbar】
redis.clients.jedis.exceptions.JedisDataException ERR invalid password.
[C language] use of library function qsort
Analysis of the writer source code of spark shuffle
为什么要买增额终身寿险?增额终身寿险安全可靠吗?
SAP value process & help request process-011
视频会议时听不到声音该如何处理?
Parts beyond the text are indicated by ellipsis
Test for API
Consumption monitoring of Prometheus monitoring [consult exporter]
LETV group payment system architecture sharing for processing 100000 high concurrent orders per second
What is restful and what rules should be followed when designing rest APIs?
[MYSQL]数据同步提示:Specified key was too long;max key length is 767 bytes