I would suggest you to use tez which just launch one yarn app for one pig script.
http://pig.apache.org/docs/r0.16.0/perf.html#enable-tez Best Regard, Jeff Zhang On 3/17/17, 3:24 AM, "Mohammad Tariq" <donta...@gmail.com> wrote: >Hi group, > >In any real world pig script we end up with multiple MR jobs(well, most of >the times). I was wondering if it's possible to allocate resources to >individual MR jobs rather than assigning them at the script level itself. >Tried looking at multiple places. Would really appreciate some pointers >regarding the same. > >Thank you so much for your valuable time! > > >[image: http://] > >Tariq, Mohammad >about.me/mti >[image: http://] ><http://about.me/mti> > > > >[image: --] > >Tariq, Mohammad >[image: https://]about.me/mti ><https://about.me/mti?promo=email_sig&utm_source=product&utm_medium=email_ >sig&utm_campaign=chrome_ext>