You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Tao Yang (Jira)" <ji...@apache.org> on 2021/02/07 09:12:00 UTC
[jira] [Created] (YUNIKORN-541) Unexpected WARN log in
node.go#refreshAvailableResource
Tao Yang created YUNIKORN-541:
---------------------------------
Summary: Unexpected WARN log in node.go#refreshAvailableResource
Key: YUNIKORN-541
URL: https://issues.apache.org/jira/browse/YUNIKORN-541
Project: Apache YuniKorn
Issue Type: Bug
Components: core - scheduler
Reporter: Tao Yang
We have found lots of unexpected WARN log:
{noformat}
WARN objects/node.go:169 Node update triggered over allocated node ...
{noformat}
For this problem, I think below if-condition in node.go#refreshAvailableResource is opposite:
{code:go}
// check if any quantity is negative: a nil resource is all 0's
if resources.StrictlyGreaterThanOrEquals(sn.availableResource, nil) {
log.Logger().Warn("Node update triggered over allocated node",
zap.String("available", sn.availableResource.String()),
zap.String("total", sn.totalResource.String()),
zap.String("occupied", sn.occupiedResource.String()),
zap.String("allocated", sn.allocatedResource.String()))
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org