Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9396

YARN_RM_CONTAINER_CREATED published twice to ATS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • ATSv2
    • None

    Description

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

      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
      

      Duplicate Events:

      container_e11_1552914589043_0001_01_000001 start:
      
      2019-03-18 13:10:13,556 DEBUG 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 DEBUG 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 DEBUG 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 DEBUG 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 DEBUG 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 DEBUG 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"}
      

      Attachments

        1. YARN-9396-001.patch
          4 kB
          Prabhu Joseph

        Issue Links

          Activity

            People

              prabhujoseph Prabhu Joseph
              prabhujoseph Prabhu Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: