flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lining (Jira)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-14717) JobExceptionsHandler show exceptions of prior attempts
Date Tue, 12 Nov 2019 08:48:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-14717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

lining updated FLINK-14717:
---------------------------
    Description: 
Now JobExceptionsHandler just shows current attempt exceptions. If job failovers, there may
some prior attempts. But they didn't show in JobExceptionsHandler. We could use executionVertex.getPriorExecutionAttempt(i) to
get prior attempt.
{code:java}
for (int i = task.getAttemptNumber() - 1; i >= 0; i--) {
  task = executionVertex.getPriorExecutionAttempt(i);
}
{code}

  was:Now JobExceptionsHandler just shows current attempt exceptions. If job failovers, there
may some prior attempts. But they didn't show in JobExceptionsHandler.


> JobExceptionsHandler show exceptions of prior  attempts 
> --------------------------------------------------------
>
>                 Key: FLINK-14717
>                 URL: https://issues.apache.org/jira/browse/FLINK-14717
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: lining
>            Priority: Major
>
> Now JobExceptionsHandler just shows current attempt exceptions. If job failovers, there
may some prior attempts. But they didn't show in JobExceptionsHandler. We could use executionVertex.getPriorExecutionAttempt(i) to
get prior attempt.
> {code:java}
> for (int i = task.getAttemptNumber() - 1; i >= 0; i--) {
>   task = executionVertex.getPriorExecutionAttempt(i);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message