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

Vrushali C commented on YARN-5094:
----------------------------------

Thanks [~haibochen] for the patch. Do you think we might want to put it in 
these too:

containermanager/AuxServicesEvent.java
containermanager/container/ContainerEvent.java
containermanager/launcher/ContainersLauncherEvent.java
containermanager/localizer/sharedcache/SharedCacheUploadEvent.java
containermanager/monitor/ContainersMonitorEvent.java
containermanager/scheduler/ContainerSchedulerEvent.java

Do you think we can add a basic test in TestTimelineReaderWebServices for this, 
if it's not too cumbersome to add.



> some YARN container events have timestamp of -1
> -----------------------------------------------
>
>                 Key: YARN-5094
>                 URL: https://issues.apache.org/jira/browse/YARN-5094
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Sangjin Lee
>            Assignee: Haibo Chen
>              Labels: YARN-5355
>         Attachments: YARN-5094.00.patch, YARN-5094.02.patch, 
> YARN-5094-YARN-2928.001.patch
>
>
> Some events in the YARN container entities have timestamp of -1. The 
> RM-generated container events have proper timestamps. It appears that it's 
> the NM-generated events that have -1: YARN_CONTAINER_CREATED, 
> YARN_CONTAINER_FINISHED, YARN_NM_CONTAINER_LOCALIZATION_FINISHED, 
> YARN_NM_CONTAINER_LOCALIZATION_STARTED.
> In the YARN container page,
> {noformat}
> {
> id: "YARN_CONTAINER_CREATED",
> timestamp: -1,
> info: { }
> },
> {
> id: "YARN_CONTAINER_FINISHED",
> timestamp: -1,
> info: {
> YARN_CONTAINER_EXIT_STATUS: 0,
> YARN_CONTAINER_STATE: "RUNNING",
> YARN_CONTAINER_DIAGNOSTICS_INFO: ""
> }
> },
> {
> id: "YARN_NM_CONTAINER_LOCALIZATION_FINISHED",
> timestamp: -1,
> info: { }
> },
> {
> id: "YARN_NM_CONTAINER_LOCALIZATION_STARTED",
> timestamp: -1,
> info: { }
> }
> {noformat}
> I think the data itself is OK, but the values are not being populated in the 
> REST output?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to