Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7055 YARN Timeline Service v.2: beta 1 / GA
  3. YARN-5094

some YARN container events have timestamp of -1

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.9.0, 3.0.0
    • 3.1.0, 2.9.1, 3.0.1
    • None
    • Reviewed

    Description

      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,

      {
      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: { }
      }
      

      I think the data itself is OK, but the values are not being populated in the REST output?

      Attachments

        1. YARN-5094.02.patch
          5 kB
          Haibo Chen
        2. YARN-5094.00.patch
          3 kB
          Haibo Chen
        3. YARN-5094-YARN-2928.001.patch
          16 kB
          Li Lu

        Issue Links

          Activity

            People

              haibochen Haibo Chen
              sjlee0 Sangjin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: