Craig Condit created YUNIKORN-1092:
--------------------------------------

             Summary: IsReservedOnNode() can match wrong node
                 Key: YUNIKORN-1092
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1092
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - scheduler
            Reporter: Craig Condit


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to