You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/03/18 13:17:00 UTC

[jira] [Updated] (YARN-9396) YARN_RM_CONTAINER_CREATED published twice to ATS

     [ https://issues.apache.org/jira/browse/YARN-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prabhu Joseph updated YARN-9396:
--------------------------------
    Description: 
RM Container Created event published twice - one from {{ContainerStartedTransition}} (NEW -> ALLOCATED) and another from {{AcquiredTransition}} (ALLOCATED -> ACQUIRED)

{code}
2019-03-18 13:10:13,551 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_e11_1552914589043_0001_01_000001 Container Transitioned from NEW to ALLOCATED
2019-03-18 13:10:13,597 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_e11_1552914589043_0001_01_000001 Container Transitioned from ALLOCATED to ACQUIRED
{code}


*Duplicate Events:*

{code}
container_e11_1552914589043_0001_01_000001 start:

2019-03-18 13:10:13,556 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000001'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914613542,"info":{}}],"createdtime":1552914613542,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":0,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000001"}
2019-03-18 13:10:13,598 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000001'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914613542,"info":{}}],"createdtime":1552914613542,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":0,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000001"}


container_e11_1552914589043_0001_01_000002 start:

2019-03-18 13:10:21,599 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000002'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914621596,"info":{}}],"createdtime":1552914621596,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":1024,"YARN_CONTAINER_ALLOCATED_PRIORITY":20,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000002"}
2019-03-18 13:10:22,344 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000002'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914621596,"info":{}}],"createdtime":1552914621596,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":1024,"YARN_CONTAINER_ALLOCATED_PRIORITY":20,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000002"}


container_e11_1552914589043_0001_01_000003 start:

2019-03-18 13:10:27,918 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000003'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914627917,"info":{}}],"createdtime":1552914627917,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":10,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-3","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-3:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000003"}
2019-03-18 13:10:28,448 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000003'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914627917,"info":{}}],"createdtime":1552914627917,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":10,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-3","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-3:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000003"}
{code}

  was:
RM Container Created event published twice - one from ContainerStartedTransition (NEW -> ALLOCATED) and another from AcquiredTransition (ALLOCATED -> ACQUIRED)

{code}
2019-03-18 13:10:13,551 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_e11_1552914589043_0001_01_000001 Container Transitioned from NEW to ALLOCATED
2019-03-18 13:10:13,597 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_e11_1552914589043_0001_01_000001 Container Transitioned from ALLOCATED to ACQUIRED
{code}


Duplicate Events:

{code}
container_e11_1552914589043_0001_01_000001 start:

2019-03-18 13:10:13,556 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000001'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914613542,"info":{}}],"createdtime":1552914613542,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":0,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000001"}
2019-03-18 13:10:13,598 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000001'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914613542,"info":{}}],"createdtime":1552914613542,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":0,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000001"}


container_e11_1552914589043_0001_01_000002 start:

2019-03-18 13:10:21,599 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000002'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914621596,"info":{}}],"createdtime":1552914621596,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":1024,"YARN_CONTAINER_ALLOCATED_PRIORITY":20,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000002"}
2019-03-18 13:10:22,344 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000002'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914621596,"info":{}}],"createdtime":1552914621596,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":1024,"YARN_CONTAINER_ALLOCATED_PRIORITY":20,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000002"}


container_e11_1552914589043_0001_01_000003 start:

2019-03-18 13:10:27,918 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000003'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914627917,"info":{}}],"createdtime":1552914627917,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":10,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-3","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-3:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000003"}
2019-03-18 13:10:28,448 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000003'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914627917,"info":{}}],"createdtime":1552914627917,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":10,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-3","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-3:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000003"}
{code}


> YARN_RM_CONTAINER_CREATED published twice to ATS
> ------------------------------------------------
>
>                 Key: YARN-9396
>                 URL: https://issues.apache.org/jira/browse/YARN-9396
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: ATSv2
>    Affects Versions: 3.2.0
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>
> RM Container Created event published twice - one from {{ContainerStartedTransition}} (NEW -> ALLOCATED) and another from {{AcquiredTransition}} (ALLOCATED -> ACQUIRED)
> {code}
> 2019-03-18 13:10:13,551 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_e11_1552914589043_0001_01_000001 Container Transitioned from NEW to ALLOCATED
> 2019-03-18 13:10:13,597 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_e11_1552914589043_0001_01_000001 Container Transitioned from ALLOCATED to ACQUIRED
> {code}
> *Duplicate Events:*
> {code}
> container_e11_1552914589043_0001_01_000001 start:
> 2019-03-18 13:10:13,556 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000001'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914613542,"info":{}}],"createdtime":1552914613542,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":0,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000001"}
> 2019-03-18 13:10:13,598 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000001'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914613542,"info":{}}],"createdtime":1552914613542,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":0,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000001"}
> container_e11_1552914589043_0001_01_000002 start:
> 2019-03-18 13:10:21,599 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000002'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914621596,"info":{}}],"createdtime":1552914621596,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":1024,"YARN_CONTAINER_ALLOCATED_PRIORITY":20,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000002"}
> 2019-03-18 13:10:22,344 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000002'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914621596,"info":{}}],"createdtime":1552914621596,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":1024,"YARN_CONTAINER_ALLOCATED_PRIORITY":20,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-2","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-2:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000002"}
> container_e11_1552914589043_0001_01_000003 start:
> 2019-03-18 13:10:27,918 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000003'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914627917,"info":{}}],"createdtime":1552914627917,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":10,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-3","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-3:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000003"}
> 2019-03-18 13:10:28,448 INFO org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Publishing the entity TimelineEntity[type='YARN_CONTAINER', id='container_e11_1552914589043_0001_01_000003'], JSON-style content: {"metrics":[],"events":[{"id":"YARN_RM_CONTAINER_CREATED","timestamp":1552914627917,"info":{}}],"createdtime":1552914627917,"idprefix":0,"info":{"YARN_CONTAINER_ALLOCATED_PORT":45454,"YARN_CONTAINER_ALLOCATED_MEMORY":2048,"YARN_CONTAINER_ALLOCATED_PRIORITY":10,"YARN_CONTAINER_ALLOCATED_HOST":"yarn-ats-3","YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS":"http://yarn-ats-3:8042","YARN_CONTAINER_ALLOCATED_VCORE":1},"configs":{},"isrelatedto":{},"relatesto":{},"type":"YARN_CONTAINER","id":"container_e11_1552914589043_0001_01_000003"}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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