[ https://issues.apache.org/jira/browse/YARN-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117391#comment-15117391 ]
Naganarasimha G R commented on YARN-4238: ----------------------------------------- Other small nit, not directly related to the patch/jira : In {{NMTimelinePublisher.reportContainerResourceUsage}} either we need to remove *currentTime* param, as its not used inside or instead of {{currentTimeMillis}} we need to make use of the *currentTime* param, i would prefer the later. > createdTime and modifiedTime 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 > Labels: yarn-2928-1st-milestone > Attachments: YARN-4238-YARN-2928.01.patch, > YARN-4238-YARN-2928.04.patch, YARN-4238-feature-YARN-2928.002.patch, > YARN-4238-feature-YARN-2928.003.patch, YARN-4238-feature-YARN-2928.04.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)