You can put the jar in hive/lib

________________________________
From: Abhishek Tiwari <[email protected]>
Reply-To: <[email protected]>
Date: Thu, 16 Jul 2009 08:09:38 -0700
To: <[email protected]>
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


Reply via email to