Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1198 Capacity Scheduler headroom calculation does not work as expected
  3. YARN-3278

Queue's current-max-limit should be updated when container allocated/released in another queue

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      This is a problem after YARN-2008, queue's current-max-limit (it was called maxAvailCapacity in YARN-2008) will be updated when queue is traversed by scheduler, so application can get headroom based on staled current-max-limit. For example:

            r
           / \
          a   b
         /     \
        a1      b1
      
         ^       ^
         |       |
         app1    app2
      

      We have above queue structure, two apps in the cluster: app1 in a1, and app2 in b1. If scheduler always travers b1 only, and continously allocate containers in b1, app1's headroom will not get updated.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: