Greetings,

I am getting this error despite many different tries. The error occurs when
I invoke the getConnection() method of
org.apache.hadoop.mapreduce.lib.db.DBConfiguration.

I have looked at the jar file (generated using Maven) for the Hadoop job and
indeed I find that the jar file
lib/mysql-connector-java-5.1.6.jar
is present (and in this jar file is indeed the class
com/mysql/jdbc/Driver.class)

I have tried specifying the jar using -libjars option of the Hadoop jar
command. No difference.

I have also tried setting CLASSPATH to the full path of the same jar; also
no difference.

Any suggestions appreciated.

Abe



-- 
View this message in context: 
http://old.nabble.com/java.lang.ClassNotFoundException%3A-com.mysql.jdbc.Driver-tp31822726p31822726.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Reply via email to