Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Run a job async


Copy link to this message
-
Re: Run a job async
You can create in instance of PigProcessNotificationListener that calls
back when the job finishes.
On Wed, Jan 23, 2013 at 4:48 PM, Prashant Kommireddi <[EMAIL PROTECTED]>wrote:

> 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,
>

--
*Note that I'm no longer using my Yahoo! email address. Please email me at
[EMAIL PROTECTED] going forward.*
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB