[ https://issues.apache.org/jira/browse/TEZ-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304384#comment-14304384 ]
Jeff Zhang commented on TEZ-2024: --------------------------------- [~hitesh] Will add unit test. bq. Shouldn't the end event always be logged to timeline/history even if a start event was not generated? It looks like the current logic is that one FinishedEvent must be associated with one StartedEvent, the same as TaskAttempt. I also think it doesn't make sense to do that, Task can finish before it is started. How about extending the scope of this jira to fix this ? {code} if (!recoveryStartEventSeen) { throw new RuntimeException("Finished Event seen but" + " no Started Event was encountered earlier"); } {code} > TaskFinishedEvent may not be logged in recovery > ------------------------------------------------ > > Key: TEZ-2024 > URL: https://issues.apache.org/jira/browse/TEZ-2024 > Project: Apache Tez > Issue Type: Bug > Reporter: Jeff Zhang > Assignee: Jeff Zhang > Attachments: TEZ-2024-1.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)