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:
- Java.lang.classnotfoundexception: com.mysql.cj.jdbc.driver can’t find jar package, path problem
- MySQL connection error no suitable driver found [How to Solve]
- [Solved] Python import module error: importerror: no module named mysql.connector
- Error occurred when Android connected to cloud MySQL: java.lang.NoClassDefFoundError : Failed resolution of: Ljava/sql/SQLType
- [Solved] MySQL Error: com.mysql.cj.jdbc.util.TimeUtil.loadTimeZoneMappings(TimeUtil.java:163)
- Logstash output jdbc Error: java.lang.IllegalAccessError: tried to access class com.mysql.jdbc.EscapeProcessor from class com.mysql.jdbc.ConnectionImpl
- The jdbc driver imported from idea into MySQL appears “Java. Lang. classnotfoundexception: com. Mysql. CJ. JDBC. Driver”
- :org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
- [Solved] Mybatis Codes Error: java.lang.ClassNotFoundException: Cannot find class: com.mysql.jdbc.Driver
- mysql connection reports java.math.BigInteger cannot be cast to java.lang.Long exception