ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver -


i using shared node cluster

hadoop 2.5.0-cdh5.3.2

please share names compatible version of mysql jar files loaded , path folders successful import , export between hdfs , mysql.

i getting below error message

error sqoop.sqoop: got exception running sqoop: java.lang.runtimeexception: not load db driver class: com.mysql.jdbc.driver

so far, have loaded mysql connector , hadoop jar files in /usr/lib/sqoop/lib

mysql-connector-java-5.0.8-bin hadoop-core-1.0.3

please let me know if need add more files , specify path t

if version incompatibility issue, can give try mysql-connector-java-5.1.31.jar using mysql-connector-java-5.1.31.jar sqoop version 1.4.5. me, works both data import , export use cases.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -