Pig is not multi-threaded, so concurrency shouldn't be an issue.

2012/4/25 Dmitriy Ryaboy <[email protected]>

> New object per occurrence in script per mapper (or reducer).
>
> D
>
>
> 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.
>

Reply via email to