There is no asynchronous API for Pig. However, Pig does have a
notification mechanism (See PigRunner.run), you can create a separate
thread to simulate the asynchronous call.
On Fri, Feb 3, 2012 at 12:34 AM, Michael Lok <[EMAIL PROTECTED]> wrote:
> Hi folks,
> I was wondering if it's possible to submit register and run a script
> using PigServer in MAPREDUCE mode in an asynchronous manner; compared
> to how a script is executed right now whereby the program is made to
> wait till the job is finished. Although the task is still executed in
> the server, I can't programmatically retrieve the job id for future
> Any help is greatly appreciated.