This is an automated email from the ASF dual-hosted git repository.
pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git
The following commit(s) were added to refs/heads/master by this push:
new 67a7167f [YUNIKORN-2683] Unnecessary error is logged when resource
usage is increased (#896)
67a7167f is described below
commit 67a7167f945b771ec21349dc58ce6ee9f7e08e59
Author: Peter Bacsko <[email protected]>
AuthorDate: Tue Jun 25 15:56:21 2024 +0200
[YUNIKORN-2683] Unnecessary error is logged when resource usage is
increased (#896)
Closes: #896
Signed-off-by: Peter Bacsko <[email protected]>
---
pkg/scheduler/ugm/manager.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pkg/scheduler/ugm/manager.go b/pkg/scheduler/ugm/manager.go
index 27044d52..8d67b9bd 100644
--- a/pkg/scheduler/ugm/manager.go
+++ b/pkg/scheduler/ugm/manager.go
@@ -105,6 +105,9 @@ func (m *Manager) IncreaseTrackedResource(queuePath,
applicationID string, usage
zap.String("application", applicationID),
zap.String("group", appGroup),
zap.Stringer("resource", usage))
+ if appGroup == common.Empty {
+ return
+ }
groupTracker := m.GetGroupTracker(appGroup)
if groupTracker == nil {
log.Log(log.SchedUGM).Error("group tracker should be available
in groupTrackers map",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]