The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH
来源:互联网 发布:mac系统好玩的枪战游戏 编辑:程序博客网 时间:2024/05/25 21:33
Caused by: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
Caused by: org.datanucleus.exceptions.NucleusException: Attempt to invoke the "DBCP" plugin to create a ConnectionPool gave an error : The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH. Please check your CLASSPATH specification, and the name of the driver.
解决方案:查了好多都没有解决由于stackoverflow回复出了点bug只好在自己的博客记录了。
I meet the same problems !
All of the config goes well ,but the mysql-connector-java-5.1.17.jar seems to not work.
Now try this way ,specify the jars when you run spark shell.
spark-shell --jars /usr/local/hive-0.13.1/lib/mysql-connector-java-5.1.17.jar
En ,you can try hive shell as this way.
直接:添加 --jars 指定mysql-connector-java-5.1.17.jar
0 0
- The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH
- Hive学习2_错误: The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH
- MySql JDBC in eclipse "The driver class was not found in the specified driver JAR/Zip file." error
- JDBC Driver class not found: com.mysql.jdbc.Driver
- com.mysql.jdbc.CommunicationsException: The driver was unable to create a connection......
- class not found exception:com.mysql.jdbc.Driver解决方法
- 解决org.hibernate.HibernateException: JDBC Driver class not found: com.mysql.jdbc.Driver
- 解决org.hibernate.HibernateException: JDBC Driver class not found: com.mysql.jdbc.Driver
- 严重: The web application [/] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregis
- The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister i
- The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister
- S2SH The web application[] registered the JDBC driver [com.mysql.jdbc.Driver] bur failed to unreqist
- Could not load JDBC driver class [com.mysql.jdbc.Driver]
- registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it
- tomcat 启动报错 registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister
- 使用DBCP出现registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it
- tomcat 之memory leak== registered the jdbc driver com mysql jdbc driver
- can not load com.mysql.jdbc.Driver
- 为什么要用Android Studio?
- 罪人审判
- leetcode.371. Sum of Two Integers
- SQL Server复制入门(一)----复制简介
- python实现根据两点经纬度计算实际距离
- The specified datastore driver ("com.mysql.jdbc.Driver") was not found in the CLASSPATH
- 如何在Android Studio中导入JNI生成的.so库
- onvif设备发现
- [精通Objective-C]运行时系统
- 剔除matlab中NaN
- [高斯消元 线性基 贪心 拟阵 逆元] BZOJ 4004 [JLOI2015]装备购买
- Openjudge 1.12 寻宝 ---唉,我竟无言以对
- 待毕业.Net码农就业求职储备
- jQuery API文档