the release is quite old,  we implemented "add jar" after this release.

On Thu, Jul 16, 2009 at 7:44 PM, Saurabh Nanda <[email protected]>wrote:

>
>  Did you run ‘add jar path_to_the-jar-including-your-udfclass’ first
>> before you issue ‘CREATE TEMPORARY FUNCTION’;
>>
>
>
> hive> add jar myjar.jar;
> Usage: add [FILE] <value> [<value>]*
> hive> add file myjar.jar;
> hive>
>
> Apparently, ADD JAR doesn't work for me. I am however using ADD FILE before
> CREATE TEMPORARY FUNCTION.
>
> I'm on the hive-0.3.0-hadoop-0.18.0-bin release.
>
> Saurabh.
> --
> http://nandz.blogspot.com
> http://foodieforlife.blogspot.com
>



-- 
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.

My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com

Reply via email to