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

IsReservedOnNode() can match wrong node

    XMLWordPrintableJSON

Details

    Description

      In scheduleer/objects/application.go, the IsReservedOnNode() function uses strings.HasPrefix to determine if a reservation belongs to a particular node. In the case where a node name is a prefix of another node (for example: node1 and node10), this can lead to application reservations stalling because the wrong node is chosen.

      Attachments

        Issue Links

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              ccondit Craig Condit
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: