You and I must be reading each others mind! https://issues.apache.org/jira/browse/HIVE-645
Do you want to join forces on this one? Edward On Thu, Jul 16, 2009 at 11:43 AM, Abhishek Tiwari<abhishektiwari.bt...@gmail.com> wrote: > > I sort of guessed that and tried it as well... but it did not help me. > > However usingĀ .. add jar .. at cli helped! > > > On Thu, Jul 16, 2009 at 9:10 PM, Prasad Chakka <pcha...@facebook.com> wrote: >> >> You can put the jar in hive/lib >> >> >> ________________________________ >> From: Abhishek Tiwari <abhishektiwari.bt...@gmail.com> >> Reply-To: <hive-user@hadoop.apache.org> >> Date: Thu, 16 Jul 2009 08:09:38 -0700 >> To: <hive-user@hadoop.apache.org> >> Subject: Using external Jars in UDF >> >> Hi, >> >> I am writing an UDF which can 'select' required rows/records from a >> hive-table and dump it into my mysql database over jdbc. >> >> However, I am not being able to get mysql-connector jar into the classpath >> and am receiving the error: java.lang.ClassNotFoundException: >> com.mysql.jdbc.Driver >> >> Can anyone tell where I can place mysql-connector and specify its path, so >> that it can work? >> >> Thanks in advance. >> >> Regards, >> Abhishek >> >> > >