Both. Think of it as an app server handling all of these requests. Sent from my iPhone
On Jan 23, 2013, at 9:09 PM, Jonathan Coveney <jcove...@gmail.com> wrote: > Thousands of requests, or thousands of Pig jobs? Or both? > > > 2013/1/23 Prashant Kommireddi <prash1...@gmail.com> > >> Did not want to have several threads launched for this. We might have >> thousands of requests coming in, and the app is doing a lot more than only >> Pig. >> >> On Wed, Jan 23, 2013 at 5:44 PM, Jonathan Coveney <jcove...@gmail.com >>> wrote: >> >>> start a separate Process which runs Pig? >>> >>> >>> 2013/1/23 Prashant Kommireddi <prash1...@gmail.com> >>> >>>> Hey guys, >>>> >>>> I am trying to do the following: >>>> >>>> 1. Launch a pig job asynchronously via Java program >>>> 2. Get a notification once the job is complete (something similar to >>>> Hadoop callback with a servlet) >>>> >>>> I looked at PigServer.executeBatch() and it seems to be waiting until >> job >>>> completes.This is not what I would like my app to do. >>>> >>>> Any ideas? >>>> >>>> Thanks, >>>> >>> >>