[
https://issues.apache.org/jira/browse/TEZ-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15210948#comment-15210948
]
Jason Lowe commented on TEZ-2278:
---------------------------------
Note that the task started event being processed by the UI and other tools
already includes two different timestamps: task schedule time and task start
time. In practice the event always has them set to the same value. Any UI or
tool that is using the task start time from that event is really using the task
schedule time. TaskImpl#getLaunchTime uses the scheduled time when the task
initializes, and there are no attempts to calculate the start time. The event
is posted as soon as the task is scheduled, so there are no launched attempts
to calculate a proper start time.
All this patch does is re-post the event after an attempt starts running so it
can update the start time as calculated by the getLaunchTime method. It
doesn't change which events or event fields are being used by the UI or tools
to calculate durations which we may want to revisit as well.
> Tez UI start/end time and duration shown are wrong for tasks
> ------------------------------------------------------------
>
> Key: TEZ-2278
> URL: https://issues.apache.org/jira/browse/TEZ-2278
> Project: Apache Tez
> Issue Type: Bug
> Components: UI
> Affects Versions: 0.6.0
> Reporter: Rohini Palaniswamy
> Assignee: Jason Lowe
> Attachments: TEZ-2278.001.patch, screenshot-1.png, screenshot-2.png,
> screenshot-3.png, screenshot-4.png
>
>
> Observing lot of time discrepancies between vertex, task and swinlane views.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)