Hi Artem, Is there more on the exception as to why the class could not be loaded? Was the class not found, or class binary incompatibility, etc... I am guessing the JARs are readable for user launching sqoop. Regards, Srimanth
On Thu, Jul 25, 2013 at 7:58 AM, Artem Ervits <[email protected]> wrote: > Hello all,**** > > ** ** > > I am having trouble running sqoop with DB2 driver on a client machine > provisioned by Ambari. I placed the db2 jars into /usr/lib/sqoop/lib and > when I try to do an import I’m getting the following error:**** > > ** ** > > 13/07/24 15:07:06 ERROR sqoop.Sqoop: Got exception running Sqoop: > java.lang.RuntimeException: Could not load db driver class: > com.ibm.db2.jcc.DB2Driver**** > > java.lang.RuntimeException: Could not load db driver class: > com.ibm.db2.jcc.DB2Driver**** > > at > org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:636)*** > * > > ** ** > > ** ** > > Do I need to push the jars via the Ambari server? If so, how is that done? > **** > > ** ** > > Thank you**** > > This electronic message is intended to be for the use only of the named > recipient, and may contain information that is confidential or privileged. > If you are not the intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the contents of this message is > strictly prohibited. If you have received this message in error or are not > the named recipient, please notify us immediately by contacting the sender > at the electronic mail address noted above, and delete and destroy all > copies of this message. Thank you. >
