hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamil A <>
Subject UDAF:FAILED: Execution Error
Date Thu, 06 Sep 2012 12:25:52 GMT
Hi Experts,

I have written an UDAF function and followed the below steps.

Step 1:
Export jar file

Step 2:
hive>ADD JAR /userdata/tamil/SumOfColumnTest/AvgOfColumn.jar;
(also tried with hive --auxpath

                      export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:
hive>list jar;

Step 3;
hive>CREATE TEMPORARY FUNCTION avge AS 'com.hadoopbook.hive.UDAFExampleAvg';

but after this got the below error,
FAILED: Execution Error, return code 1 from

is the above procedure i followed is same for UDF and UDAF or some other
changes are to be made for UDAF.

Please help me out,

Thanks & Regards,

View raw message