java.lang.RuntimeException: Could not load db driver class: /usr/share/java/mysql-connector-java.jar

hortonworks.com | 4 months ago
  1. 0

    Sqoop list database works but not sqoop import for MySql - Hortonworks

    hortonworks.com | 4 months ago
    java.lang.RuntimeException: Could not load db driver class: /usr/share/java/mysql-connector-java.jar
  2. 0

    Facing issue for the below command in sqoop

    Stack Overflow | 2 years ago | user1485267
    java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver
  3. 0

    Accessing Vertica Database through Oozie sqoop

    Stack Overflow | 2 years ago | user3898179
    java.lang.RuntimeException: Could not load db driver class: dbDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when using Sqoop import for SQL Server - Hortonworks

    hortonworks.com | 1 year ago
    java.lang.RuntimeException: Could not load db driver class: com.microsoft.sqlserver.jdbc.SQLServer Driver
  6. 0

    SQOOP SQLSERVER Failed to load driver " appropriate connection manager is not being set"

    Stack Overflow | 3 years ago | hba
    java.lang.RuntimeException: Could not load db driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver

  1. aldrinleal 1 times, last 4 weeks ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Could not load db driver class: /usr/share/java/mysql-connector-java.jar

    at org.apache.sqoop.manager.SqlManager.makeConnection()
  2. org.apache.sqoop
    Sqoop.run
    1. org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:856)
    2. org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
    3. org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:744)
    4. org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:767)
    5. org.apache.sqoop.manager.SqlManager.getColumnInfoForRawQuery(SqlManager.java:270)
    6. org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery(SqlManager.java:241)
    7. org.apache.sqoop.manager.SqlManager.getColumnTypes(SqlManager.java:227)
    8. org.apache.sqoop.manager.ConnManager.getColumnTypes(ConnManager.java:295)
    9. org.apache.sqoop.orm.ClassWriter.getColumnTypes(ClassWriter.java:1845)
    10. org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1645)
    11. org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:107)
    12. org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:478)
    13. org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
    14. org.apache.sqoop.Sqoop.run(Sqoop.java:148)
    14 frames
  3. Hadoop
    ToolRunner.run
    1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
    1 frame
  4. org.apache.sqoop
    Sqoop.runTool
    1. org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
    2. org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
    2 frames