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
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。