Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1246

release reservation of required node in tryAllocate

    XMLWordPrintableJSON

Details

    Description

      When an ask has a required node set we only try to allocate the one specific node. In tryAllocate we have two issues:

      • The node specified as the required node might not exist. In that case the scheduler crashes with a nil pointer
      • If the release of a preempted allocation is processed during the scheduling cycle we might try to allocate the ask on the node via the normal tryAllocate and not use the tryReservedAllocate flow. If that happens we leave the node reserved forever and that makes the node unusable.

      Attachments

        Issue Links

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: