Build and use a Hive UDF in 1 minute
-
Just use the precompiled myudfs.jar
-
Or compile it with:
javac -cp $(ls /usr/lib/hive/lib/hive-exec*.jar):/usr/lib/hadoop/hadoop-common.jar org/hue/udf/MyUpper.java
jar -cf myudfs.jar -C . .
Build and use a Hive UDF in 1 minute
Just use the precompiled myudfs.jar
Or compile it with:
javac -cp $(ls /usr/lib/hive/lib/hive-exec*.jar):/usr/lib/hadoop/hadoop-common.jar org/hue/udf/MyUpper.java
jar -cf myudfs.jar -C . .