Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5355 YARN Timeline Service v.2: alpha 2
  3. YARN-5156

YARN_CONTAINER_FINISHED of YARN_CONTAINERs will always have running state

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      On container finished, we're reporting "YARN_CONTAINER_STATE: "RUNNING"". Do we design this deliberately or it's a bug?

      {
      metrics: [ ],
      events: [
      {
      id: "YARN_CONTAINER_FINISHED",
      timestamp: 1464213765890,
      info: {
      YARN_CONTAINER_EXIT_STATUS: 0,
      YARN_CONTAINER_STATE: "RUNNING",
      YARN_CONTAINER_DIAGNOSTICS_INFO: ""
      }
      },
      {
      id: "YARN_NM_CONTAINER_LOCALIZATION_FINISHED",
      timestamp: 1464213761133,
      info: { }
      },
      {
      id: "YARN_CONTAINER_CREATED",
      timestamp: 1464213761132,
      info: { }
      },
      {
      id: "YARN_NM_CONTAINER_LOCALIZATION_STARTED",
      timestamp: 1464213761132,
      info: { }
      }
      ],
      id: "container_e15_1464213707405_0001_01_000018",
      type: "YARN_CONTAINER",
      createdtime: 1464213761132,
      info: {
      YARN_CONTAINER_ALLOCATED_PRIORITY: "20",
      YARN_CONTAINER_ALLOCATED_VCORE: 1,
      YARN_CONTAINER_ALLOCATED_HOST_HTTP_ADDRESS: "10.22.16.164:0",
      UID: "yarn_cluster!application_1464213707405_0001!YARN_CONTAINER!container_e15_1464213707405_0001_01_000018",
      YARN_CONTAINER_ALLOCATED_HOST: "10.22.16.164",
      YARN_CONTAINER_ALLOCATED_MEMORY: 1024,
      SYSTEM_INFO_PARENT_ENTITY: {
      type: "YARN_APPLICATION_ATTEMPT",
      id: "appattempt_1464213707405_0001_000001"
      },
      YARN_CONTAINER_ALLOCATED_PORT: 64694
      },
      configs: { },
      isrelatedto: { },
      relatesto: { }
      }
      

      Attachments

        1. YARN-5156-YARN-2928.01.patch
          3 kB
          Vrushali C
        2. YARN-5156-YARN-5355.01.patch
          2 kB
          Vrushali C
        3. YARN-5156-YARN-5355.02.patch
          1 kB
          Vrushali C

        Activity

          People

            vrushalic Vrushali C
            gtcarrera9 Li Lu
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: