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

Varun Saxena commented on YARN-4238:
------------------------------------

Just noticed that created time was retrospectively added in YARN-4129 so just 
added code for modified time in RM. And updated test case in RM.
Assumption is that container entity will either be updated from RM or NM. So 
updating created time from both places.
Moreover added code in JobHistoryEventHandler as well.

> createdTime is not reported while publishing entities to ATSv2
> --------------------------------------------------------------
>
>                 Key: YARN-4238
>                 URL: https://issues.apache.org/jira/browse/YARN-4238
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>         Attachments: YARN-4238-YARN-2928.01.patch
>
>
> While publishing entities from RM and elsewhere we are not sending created 
> time. For instance, created time in TimelineServiceV2Publisher class and for 
> other entities in other such similar classes is not updated. We can easily 
> update created time when sending application created event. Likewise for 
> modification time on every write.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to