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

RM still allocates containers to an app in the FINISHING state

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: scheduler
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      I saw an instance of a bad application master where it unregistered with the RM but then continued to call into allocate. The RMAppAttempt went to the FINISHING state, but the capacity scheduler kept allocating it containers. We should probably have the capacity scheduler check that the application isn't in one of the terminal states before giving it containers.

        Attachments

        1. yarn2421.patch
          5 kB
          Chang Li
        2. yarn2421.patch
          5 kB
          Chang Li
        3. yarn2421.patch
          6 kB
          Chang Li
        4. YARN-2421.4.patch
          4 kB
          Chang Li
        5. YARN-2421.5.patch
          4 kB
          Chang Li
        6. YARN-2421.6.patch
          5 kB
          Chang Li
        7. YARN-2421.7.patch
          5 kB
          Chang Li
        8. YARN-2421.8.patch
          6 kB
          Chang Li
        9. YARN-2421.9.patch
          6 kB
          Chang Li

          Activity

            People

            • Assignee:
              lichangleo Chang Li
              Reporter:
              tgraves Thomas Graves
            • Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: