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

LeafQueue#getTotalPendingResourcesConsideringUserLimit should deduct reserved from pending to avoid unnecessary preemption of reserved container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • None
    • None

    Description

      While doing YARN-5864 tests, found an issue when a queue's reserved > pending. PreemptionResourceCalculator will preempt reserved container even if there's only one active queue in the cluster.

      To fix the problem, we need to deduct reserved from pending when getting total-pending resource for LeafQueue

      Attachments

        1. YARN-6081.001.patch
          27 kB
          Wangda Tan
        2. YARN-6081.002.patch
          31 kB
          Wangda Tan

        Activity

          People

            leftnoteasy Wangda Tan
            leftnoteasy Wangda Tan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: