You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2022/02/24 22:07:00 UTC
[jira] [Created] (YUNIKORN-1092) IsReservedOnNode() can match wrong node
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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org