0 votes
Hi,

I'm trying to use a UDF in a hive recipe, I've seen the additional configuration line where I can add a key and a value

Can I put there : add (as key?) and /thepathtomyudf.jar (as value?) ?

Or is it not possible in Hive recipes ?

Best Regards,

--
Kevin KHATAEI

Data Analyst / Big Data Consultant | CGI
by

1 Answer

0 votes
Hi,

You can write your "ADD JAR" and "CREATE TEMPORARY FUNCTION" statements directly in the body of the Hive recipe.

Note that Hive tends to be a bit impredictible as to the location of the JAR: sometimes the path that you give must be on the local filesystem, sometimes on HDFS.
by
Hi !
Thanks it worked :)
The JAR is on the local filesystem for me :)
1,296 questions
1,325 answers
1,505 comments
11,862 users

©Dataiku 2012-2018 - Privacy Policy