首页 > 其他 > 详细

安装spark遇到的问题

时间:2019-12-17 01:15:54      阅读:144      评论:0      收藏:0      [点我收藏+]

1.启动spark SQL时,报错:

   Caused by: org.datanucleus.store.rdbms.connectionpool.DatastoreDriverNotFoundException:

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.
解决方案
$SPARK_HOME/conf/spark-env.sh文件中配置:export SPARK_CLASSPATH=$HIVE_HOME/lib/mysql-connector-java-5.1.6-bin.jar

安装spark遇到的问题

原文:https://www.cnblogs.com/zhangjiahao/p/12052146.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!