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

Wrong available resource in AllocateResponse when allocating containers to different partitions in the same queue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • capacityscheduler
    • None

    Description

      Recently I found some apps' available resource in AllocateResponse was changing between two different resources. After check the code, I think LeafQueue#queueResourceLimitsInfo is wrongly updated in LeafQueue#computeUserLimitAndSetHeadroom for all partitions, and this data should be updated only for default partition.

      Attachments

        1. YARN-8728.001.patch
          5 kB
          Tao Yang

        Activity

          People

            Tao Yang Tao Yang
            Tao Yang Tao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: