Re: Error in running udf that interacts with hive jdbc client

2014-10-03 Thread reena upadhyay
Hi Jason, Thanks for the reply :) Map reduce jobs were not able to find the third party jars, this was causing the exceptions. I have placed all the dependent third party jar's inside haddop_home/lib. By doing so, the issue is solved. Thanks, Reena Upadhyay On Fri, Oct 3, 2014 at 1:16 AM, Jason

Re: Error in running udf that interacts with hive jdbc client

2014-10-02 Thread Jason Dere
It looks like the issue is here at the bottom of the list of stack traces, where it can't resolve the HiveDriver class. I think only hive-exec.jar is shipped as part of a map/reduce job, you would have to make sure hive-jdbc is in the class path during the map/reduce jobs. Are you sure your UDF

Error in running udf that interacts with hive jdbc client

2014-10-01 Thread reena upadhyay
Hi, I have a single argument udf that takes the sql string as a argument. Inside the udf, I have used hive jdbc client to execute the query. My query execution part inside udf is working fine and also I am able to get the desired result from the query. My udf is returning a String. I am getting