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

[Collector wireup] We need an assured way to determine if a container is an AM container on NM

    XMLWordPrintableJSON

Details

    Description

      In YARN-3030, to start the per-app aggregator only for a started AM container, we need to determine if the container is an AM container or not from the context in NM (we can do it on RM). This information is missing, such that we worked around to considered the container with ID "xxxx_01" as the AM container. Unfortunately, this is neither necessary or sufficient condition. We need to have a way to determine if a container is an AM container on NM. We can add flag to the container object or create an API to do the judgement. Perhaps the distributed AM information may also be useful to YARN-2877.

      Attachments

        1. YARN-3116.v9.patch
          38 kB
          Giovanni Matteo Fumarola
        2. YARN-3116.v8.patch
          30 kB
          Zhijie Shen
        3. YARN-3116.v7.patch
          30 kB
          Giovanni Matteo Fumarola
        4. YARN-3116.v6.patch
          29 kB
          Zhijie Shen
        5. YARN-3116.v5.patch
          27 kB
          Giovanni Matteo Fumarola
        6. YARN-3116.v4.patch
          21 kB
          Giovanni Matteo Fumarola
        7. YARN-3116.v3.patch
          19 kB
          Giovanni Matteo Fumarola
        8. YARN-3116.v2.patch
          15 kB
          Giovanni Matteo Fumarola
        9. YARN-3116.v10.patch
          36 kB
          Giovanni Matteo Fumarola
        10. YARN-3116.patch
          4 kB
          Giovanni Matteo Fumarola

        Issue Links

          Activity

            People

              giovanni.fumarola Giovanni Matteo Fumarola
              zjshen Zhijie Shen
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: