Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Object creation when using UDFs

Copy link to this message
Re: Object creation when using UDFs
New object per occurrence in script per mapper (or reducer).

On Tue, Apr 24, 2012 at 4:05 PM, Mohit Anchlia <[EMAIL PROTECTED]> wrote:
> Does pig ever share same instance of object concurrently at run time? Or
> does it create a new instance for every invocation? I wrote UDF with a
> public data member (not static) but I wonder if that is thread safe.