Troubleshooting
Problem
If you attempt to perform a sqoop action without the appropriate jdbc drivers accessible to sqoop; you will receive an error similar to the following: ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: com.ibm.db2.jcc.DB2Driver OR ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: oracle.jdbc.OracleDriver OR ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver To resolve this error, the common procedure is to add the vendor jdbc jars to the sqoop lib path. However, within cloud, root access is not provided therefore a different method is needed . The following is an example using Oracle thin client which can be adapted for whatever vendor you may be using.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
18 July 2020
UID
swg21989078