Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Current
The job's exceptions just show current attempt’s exceptions in web UI.(ps: code)
If the job failovers, we couldn't see any prior attempts' exceptions.
Proposal
We could use executionVertex.getPriorExecutionAttempt to get prior attempt in JobExceptionsHandler.
for (int i = task.getAttemptNumber() - 1; i >= 0; i--) { task = executionVertex.getPriorExecutionAttempt(i); }