You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by shawon <sh...@gmail.com> on 2015/08/29 12:13:30 UTC

Apache Spark Suitable JDBC Driver not found

 0
down vote
favorite
	

I am using Apache Spark for analyzing query log. I already faced some
difficulties to setup spark. Now I am using a standalone cluster to process
queries.

First I used example code in java to count words that worked fine. But when
I try to connect it to a MySQL server problem arises. I am using ubuntu
14.04 LTS, 64 bit. Spark version 1.4.1, Mysql 5.1.

This is my code, when I use Master Url instead of [Local*] I get the error
No suitable driver found. I have included the log. 

Here's the StackOverFlow link to the Detail of the problem - 

http://stackoverflow.com/questions/32280276/apache-spark-mysql-connection-suitable-jdbc-driver-not-found?noredirect=1#comment52445586_32280276
<http://http://stackoverflow.com/questions/32280276/apache-spark-mysql-connection-suitable-jdbc-driver-not-found?noredirect=1#comment52445586_32280276>  



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Apache-Spark-Suitable-JDBC-Driver-not-found-tp24505.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: Apache Spark Suitable JDBC Driver not found

Posted by shawon <sh...@gmail.com>.
Could you please elaborate ? Spark Classpath in Spark.env.sonf file ? 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Apache-Spark-Suitable-JDBC-Driver-not-found-tp24505p24511.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org