You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2015/10/27 08:29:27 UTC

[jira] [Commented] (PIG-4684) Exception should be changed to warning when job diagnostics cannot be fetched

    [ https://issues.apache.org/jira/browse/PIG-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14975876#comment-14975876 ] 

Daniel Dai commented on PIG-4684:
---------------------------------

Agree with [~rohini], when job success, we don't need to call getTaskReports. When job fail, we shall call getTaskReports, but if any exception, we need to capture and log warning instead as [~mitdesai] did in patch.

> 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)