Does the order that you add the JARs in Hive matter - say adding b.jar first, then a.jar?
On Aug 2, 2014, at 4:47 AM, Brian Jeltema <brian.jelt...@digitalenvoy.net> wrote: > I've written a small UDF and placed it in a JAR (a.jar). > > The UDF has a dependency on a class in another JAR (b.jar). > > in Hive, I do: > > add jar a.jar; > add jar b.jar; > create temporary function .....; > > but when I execute the UDF, the dependency in b.jar is not found > (NoClassDefFoundError). > If I create a single JAR that contains the UDF and it's dependencies, the > function works. > Do all of the classes required for a UDF have to be supplied in a single JAR > file? > > TIA > Brian -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.