You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Eli Schiff (Jira)" <ji...@apache.org> on 2022/12/15 21:46:00 UTC

[jira] [Created] (YUNIKORN-1476) The nodes with negative resources health check prints partitions instead of nodes

Eli Schiff created YUNIKORN-1476:
------------------------------------

             Summary: The nodes with negative resources health check prints partitions instead of nodes
                 Key: YUNIKORN-1476
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1476
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - scheduler
    Affects Versions: 1.1.0
            Reporter: Eli Schiff


The nodes with negative resources health check has a typo where it correctly checks if any nodes have negative resources, but the value it prints in the log message is wrong. It instead prints partitions with negative resources. It looks like a simple copy paste typo.

 

For example:

In the health check logs I was seeing `{{{}{"Name":"Negative resources","Succeeded":false,"Description":"Check for negative resources in the nodes","DiagnosisMessage":"Nodes with negative resources: []"}`{}}}

If this log is saying there are nodes with negative resources, I would expect the array at the end to not be empty.

 

I have a fix for this here https://github.com/apache/yunikorn-core/pull/482



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org