[Solved] Sqoop error: Could not load db driver class: com.mysql.jdbc.Driver

1.Sqoop Error: Could not load db driver class: com.mysql.jdbc.Driver

Missing MySQL jar

Solution:

Upload the jar package of MySQL and move it to the Lib directory of sqoop

mv mysql-connector-java-5.1.47.jar /opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/lib/sqoop/lib/

Similar Posts: