Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7402 Federation V2: Global Optimizations
  3. YARN-9013

[GPG] fix order of steps cleaning Registry entries in ApplicationCleaner

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • None
    • None

    Description

      ApplicationCleaner today deletes the entry for all finished (non-running) application in YarnRegistry using this logic:

      1. GPG gets the list of running applications from Router.
      2. GPG gets the full list of applications in registry
      3. GPG deletes in registry every app in 2 that’s not in 1

      The problem is that jobs that started between 1 and 2 meets the criteria in 3, and thus get deleted by mistake. The fix/right order should be 2->1->3, rather than 1->2->3.

      Attachments

        1. YARN-9013-YARN-7402.v1.patch
          9 kB
          Botong Huang
        2. YARN-9013-YARN-7402.v2.patch
          9 kB
          Botong Huang

        Issue Links

          Activity

            People

              botong Botong Huang
              botong Botong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: