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

Internal fields in LeafQueue access should be protected when accessed from FiCaSchedulerApp to calculate Headroom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • capacityscheduler
    • None

    Description

      Upon YARN-2644, FiCaScheduler will calculation up-to-date headroom before sending back Allocation response to AM.

      Headroom calculation is happened in LeafQueue side, uses fields like used resource, etc. But it is not protected by any lock of LeafQueue, so it might be corrupted is someone else is editing it.

      Attachments

        1. YARN-2925.1.patch
          15 kB
          Wangda Tan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: