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

Intra-queue preemption: apps that don't use defined custom resource won't be preempted.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0, 2.10.2, 3.2.3, 3.3.2
    • 3.4.0, 2.10.2, 3.2.3, 3.3.2
    • scheduler preemption
    • None

    Description

      YARN-8292 added handling of negative resources during the preemption calculation phase. That JIRA hard-coded it so that for inter-(cross-)queue preemption, the a single resource in the vector could go negative while calculating ideal assignments and preemptions. It also hard-coded it so that during intra-(in-)queue preemption calculations, no resource could not go negative. YARN-10613 made these options configurable.

      However, in clusters where custom resources are defined, apps that don't use the extended resource won't be preempted.

      Attachments

        1. YARN-10834.001.patch
          7 kB
          Eric Payne
        2. YARN-10834.branch-2.10.001.patch
          7 kB
          Eric Payne

        Activity

          People

            epayne Eric Payne
            epayne Eric Payne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: