インストールの問題が発生した火花

1. [スタート]スパーク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

おすすめ

転載: www.cnblogs.com/zhangjiahao/p/12052146.html