You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by jr <jo...@io-consulting.net> on 2010/03/23 13:03:19 UTC
UDF destructor
Hello Guys!
Is there a method in the UDF classes i can overwrite for when the
class/object is being destroyed? I'd need to let go of some resources
when this happens.
Or is the jvm purged after a pig run?
Johannes
Re: UDF destructor
Posted by Tamir Kamara <ta...@gmail.com>.
Hi,
I think you can use the finish method.
Tamir
On Tue, Mar 23, 2010 at 2:03 PM, jr <jo...@io-consulting.net>wrote:
> Hello Guys!
> Is there a method in the UDF classes i can overwrite for when the
> class/object is being destroyed? I'd need to let go of some resources
> when this happens.
> Or is the jvm purged after a pig run?
> Johannes
>
>
>