[
https://issues.apache.org/jira/browse/PIG-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936141#comment-14936141
]
Rohini Palaniswamy commented on PIG-4684:
-----------------------------------------
Just one more thing just to be on the safer side. Can we retain the catch
(IOException e) block? If getErrorMessages throws IOException and if job status
is SUCCESS, we should log that and continue. getErrorMessages is looking at all
task reports and might throw errors for failed tasks even if job succeeded
after retries.
> 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
>
>
> 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)