[
https://issues.apache.org/jira/browse/PIG-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mit Desai updated PIG-4684:
---------------------------
Attachment: PIG-4684.3.patch
Update the patch.
Modifications:
1. {{getStats()}} is now only called when the job has failed. So the
getTaskReports() will not be called for any succeeded jobs. I have removed the
getStats() call from succeeded jobs as the only thing that getStats() does is
to call getTaskReports() for Maps and Reducers.
2. IOException block has now been removed because no succeeded jobs will call
this method and we won't have to log the exception thrown by getErrorMessages
for succeeded jobs.
3. The following method is removed as no one calls it.
{{Launcher.getTotalHadoopTimeSpent()}}
> Exception should be changed to warning when job diagnostics cannot be fetched
> -----------------------------------------------------------------------------
>
> Key: PIG-4684
> URL: https://issues.apache.org/jira/browse/PIG-4684
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.11.1
> Reporter: Mit Desai
> Assignee: Mit Desai
> Attachments: PIG-4684.1.patch, PIG-4684.2.patch, PIG-4684.3.patch
>
>
> When a job completes and there is a problem fetching the taskReports,
> exception is thrown if the job has failed and a warning message if the job
> has succeeded. The exception should not be thrown as the failure to get the
> taskReports is not same as job failure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)