>  Did you run ‘add jar path_to_the-jar-including-your-udfclass’ first
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
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