[
https://issues.apache.org/jira/browse/PIG-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985851#comment-13985851
]
Aniket Mokashi commented on PIG-3913:
-------------------------------------
Thanks for the review, [~julienledem]. I realized that we have some code in pig
that will avoiding printing counters in local mode (since they were broken).
Let me clean up that code so that counters are available again with local mode.
Also, I will test with hadoop 2 to see if this fix works with it.
[~daijy], any known issues I should be aware of here?
> Pig should use job's jobClient wherever possible (fixes local mode counters)
> ----------------------------------------------------------------------------
>
> Key: PIG-3913
> URL: https://issues.apache.org/jira/browse/PIG-3913
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Aniket Mokashi
> Assignee: Aniket Mokashi
> Fix For: 0.13.0
>
> Attachments: PIG-3913-1.patch
>
>
> MapreduceLauncher initializes a statsJobClient to poll counter information of
> jobs. This works fine in mapreduce mode but it reports incorrect information
> in local (auto-local) mode. Pig code should try to use
> org.apache.hadoop.mapred.jobcontrol.Job's getJobClient api to get handle to
> jobClient wherever possible. statsJobClient (and wherever its references are
> passed) should be deprecated.
--
This message was sent by Atlassian JIRA
(v6.2#6252)