Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Error when Creating an UDF


+
Jean-Charles Thomas 2012-02-06, 15:51
+
Mark Grover 2012-02-06, 18:01
+
Aniket Mokashi 2012-02-06, 18:38
Copy link to this message
-
Re: Error when Creating an UDF
bejoy_ks@... 2012-02-06, 18:47
Hi
    One of your jar is not available and may be that has the required UDF or any related methods.

Hive was not able to locate your first jar

'/scripts/hiveMd5.jar does not exist'

Just fix this with the correct location. Everything should work fine.
 
Regards
Bejoy K S

From handheld, Please excuse typos.

-----Original Message-----
From: Jean-Charles Thomas <[EMAIL PROTECTED]>
Date: Mon, 6 Feb 2012 16:51:58
To: [EMAIL PROTECTED]<[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Error when Creating an UDF

Hi everybody,

i am trying to create an UDF follwing the example in the Hive Wiki.
Everything is fine but the CREATE statement (see below) where an error occurs:

hive> add jar /scripts/hiveMd5.jar;
/scripts/hiveMd5.jar does not exist
hive> add jar /scripts/hive/udf/Md5.jar;
Added /scripts/hive/udf/Md5.jar to class path
Added resource: /scripts/hive/udf/Md5.jar
hive> CREATE TEMPORARY FUNCTION mymd5 AS 'com.autoscout24.hive.udf.Md5';
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask
hive>

in the Hive log, there is no much more:

2012-02-06 16:16:36,096 ERROR ql.Driver (SessionState.java:printError(343)) - FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

Any Help is welcome,

Thanks a lot for hlep,

Jean-Charles

+
alo alt 2012-02-07, 11:00