chia7712 commented on code in PR #896:
URL: https://github.com/apache/yunikorn-core/pull/896#discussion_r1651077643


##########
pkg/scheduler/ugm/manager.go:
##########
@@ -107,9 +107,6 @@ func (m *Manager) IncreaseTrackedResource(queuePath, 
applicationID string, usage
                zap.Stringer("resource", usage))
        groupTracker := m.GetGroupTracker(appGroup)
        if groupTracker == nil {
-               log.Log(log.SchedUGM).Error("group tracker should be available 
in groupTrackers map",

Review Comment:
   That is interesting. We do the similar check/ensure for 
`IncreaseTrackedResource`
   
   
https://github.com/apache/yunikorn-core/blob/97c38a97a55ee9b457c366c11a4ae32348093e2c/pkg/scheduler/ugm/manager.go#L98
   
   It seems the error message makes sense since `groupTracker` should be 
existent in the code path? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to