Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15224

Resource requirements are not respected when fulfilling a slot request with unresolvedRootSlots from a SlotSharingManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 1.11.0
    • None
    • Runtime / Coordination
    • None

    Description

      In SchedulerImpl#allocateMultiTaskSlot, if a slot request cannot be fulfilled immediately with a resolved root slot(MultiTaskSlot that is fulfilled by an allocated slot) or with available slots, it will be assigned to a random unresolved root slot. It does not do resource requirements check in this case, so a large task slot can be assigned to a small shared slot (unresolved root slot) and when the shared slot received its physical slot offer, it will be recognized as oversubscribing and the slot would be released and related tasks would fail.

      It's not a problem for now since specified resources are not used yet, but can be a problem in the future when we are to support specified resources.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhuzh Zhu Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: