On Thu, Sep 8, 2011 at 11:33 AM, Yen SYU <[email protected]> wrote:

> Hi,
>
> In pig.9, is it possible to turn on logging for all jobs instead of failed
> jobs ONLY?
>
What kind of logging do you mean?


>
> Actually I want to extract the stats for each pig job, how can I do it? I
> am
> still confused by how to use the Pig Stats in API...
>
You need to invoke PigRunner in Java to use Pig Stats API:
PigStats stats = PigRunner.run(args, null);


> Thank you!
>
> Best,
> Yen
>

Reply via email to