My bad. Obviously this doesn't work (need to call registerudf) Zheng - what was ur idea here?
(I think we should make this a little simpler - perhaps if the operator is not found in the registry - we can try to load a class with the same name and use that as fallback.) ________________________________ From: Joydeep Sen Sarma [mailto:[email protected]] Sent: Monday, February 23, 2009 10:16 PM To: [email protected] Subject: RE: how to store UDFs in Hive system? We already pick up all jars from auxlib/ (both for client side and execution). Also modifiable via -auxpath switch ________________________________ From: Zheng Shao [mailto:[email protected]] Sent: Monday, February 23, 2009 8:29 PM To: [email protected] Subject: Re: how to store UDFs in Hive system? Hi Min, Hive does not have that capability right now. The reason is that Hive does not copy the jars that contains user registered UDFs. However, if we can keep the jars at a safe place, it shouldn't be hard to modify hive client side (bin/hive) to load all the UDFs from the jars before the hive client side starts. Zheng On Mon, Feb 23, 2009 at 6:58 PM, Min Zhou <[email protected]<mailto:[email protected]>> wrote: Hi list, If we have many UDFs registered, does Hive have any mechanism that can automatically reload them when we restart Hive service or migrate Hive to another cluster? Thanks, Min -- My research interests are distributed systems, parallel computing and bytecode based virtual machine. http://coderplay.javaeye.com -- Yours, Zheng
