You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Ting Yao,Huang (Jira)" <ji...@apache.org> on 2021/09/17 05:44:00 UTC
[jira] [Assigned] (YUNIKORN-839) getNodesUtilJSON is broken
[ https://issues.apache.org/jira/browse/YUNIKORN-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ting Yao,Huang reassigned YUNIKORN-839:
---------------------------------------
Assignee: Ting Yao,Huang
> getNodesUtilJSON is broken
> --------------------------
>
> Key: YUNIKORN-839
> URL: https://issues.apache.org/jira/browse/YUNIKORN-839
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - common
> Affects Versions: 0.11, 0.10
> Reporter: Wilfred Spiegelenburg
> Assignee: Ting Yao,Huang
> Priority: Critical
>
> In {{getNodesUtilJSON()}} is only calculated for resources that are defined on a partition level. These might be the same resources as defined in the nodes or they might not be.
> When walking over the node the last node visited will ultimately set the {{resourceExists}} flag. If I have a set of 2 nodes one that has the resource GPU defined and one that has not the outcome of the call will be different for the order the nodes get visited.
> If the node with GPU is visited last the second loop will be entered with {{resourceExists}} true if it was checked first {{resourceExists}} will be false.
> That means the output of the call is unreliable, it also means that any web UI parts that display the details cannot be relied on.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org