While working with Sqoop i got this error
java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver
Solution
MySQL jar is missing , download MySQL java connector jar and save it into sqoop/lib folder
You can download it from http://www.mysql.com/downloads/connector/j/
More details at Solution post
https://groups.google.com/a/cloudera.org/group/sqoop-user/browse_thread/thread/a7075a8557c00007?pli=1
The MySQL JDBC Driver was removed from Sqoop distribution in order to ensure that the default distribution is fully Apache license compliant.
No comments:
Post a Comment
Please share your views and comments below.
Thank You.