...
Code Block |
---|
hive> list jars; my_jar.jar |
As of Hive 0.13, UDFs also have the option of of being able to specify required jars in the CREATE FUNCTION statement:
Code Block |
---|
CREATE FUNCTION myfunc AS 'myclass' USING JAR 'hdfs:///path/to/jar'; |
This will add the jar to the classpath as if ADD JAR had been called on that jar.