sparkのインストールで発生した問題

2394 ワード

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