Created on 01-30-2014 09:43 AM - edited 09-16-2022 01:53 AM
What is the best way to register a jar containing UDF's ( Hue Pig Editor)
My jar is in HDFS @ /user/xxx/applications/fpds9/lib/dsx-core.jar;
REGISTER /user/xxx/applications/fpds9/lib/dsx-core.jar;
Running my pig script via the Pig Editor in Hue throws an error as it cannot find my UDF in the classpath.
Created 01-30-2014 10:09 AM
I figured out a way to do it, right after posting. Added a resource as a file type to my jar and registered the jar in the script as usual.
Created 01-30-2014 10:11 AM
Glad to hear!
Posting since I started replying:
Hue needs to package the jar: http://gethue.tumblr.com/post/64707633719/hadoop-tutorial-use-pig-and-hive-with-hbase
Created 01-30-2014 10:09 AM
I figured out a way to do it, right after posting. Added a resource as a file type to my jar and registered the jar in the script as usual.
Created 01-30-2014 10:11 AM
Glad to hear!
Posting since I started replying:
Hue needs to package the jar: http://gethue.tumblr.com/post/64707633719/hadoop-tutorial-use-pig-and-hive-with-hbase