Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> UDAF:FAILED: Execution Error


Copy link to this message
-
UDAF:FAILED: Execution Error
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
/userdata/tamil/SumOfColumnTest/AvgOfColumn.jar;

                      export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:
/userdata/tamil/SumOfColumnTest/AvgOfColumn.jar)
hive>list jar;
/userdata/tamil/SumOfColumnTest/AvgOfColumn.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
org.apache.hadoop.hive.ql.exec.FunctionTask

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,
Tamil
+
Matouk Iftissen 2012-09-06, 15:56
+
Tamil A 2012-09-06, 19:03
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB