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

[ATSv2] "metrics" for YARN_CONTAINERS are displayed as empty.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      metrics for YARN_CONTAINER entity types are displayed as empty. For master containers some values are displayed but for other containers randomly it displays metric values.

      I think the behavior is due to publishing of container metric in monitor thread from NodeManager. There are 2 issues I observe is

      1. Some containers has metric values CPU-Memory, some are empty.
      2. The CPU-Memory values taken are from current usage which monitor thread reports. But issue with it is aggregationOp is SUM. So Each time monitor thread reported values is being added and give some bigger values. But ideally it is not actual usage.

      I think CPU-MEMORY metric values for yarn-containers entities should be allocated values.

      Attachments

        1. rest-output.txt
          2 kB
          Rohith Sharma K S
        2. REST-ALL-output.txt
          9 kB
          Rohith Sharma K S

        Activity

          People

            Unassigned Unassigned
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: