[
https://issues.apache.org/jira/browse/YUNIKORN-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit closed YUNIKORN-1891.
----------------------------------
> Remove misleading error message from QueueTracker
> -------------------------------------------------
>
> Key: YUNIKORN-1891
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1891
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - scheduler
> Reporter: Peter Bacsko
> Assignee: Manikandan R
> Priority: Major
>
> In the {{headroom()}} method, there is an error logging:
> {noformat}
> func (qt *QueueTracker) headroom(queuePath string) *resources.Resource {
> log.Log(log.SchedUGM).Debug("Calculating headroom",
> zap.String("queue path", queuePath))
> childQueuePath, immediateChildQueueName := getChildQueuePath(queuePath)
> if childQueuePath != "" {
> if qt.childQueueTrackers[immediateChildQueueName] != nil {
> headroom :=
> qt.childQueueTrackers[immediateChildQueueName].headroom(childQueuePath)
> if headroom != nil {
> return
> resources.ComponentWiseMinPermissive(headroom, qt.maxResources)
> }
> } else {
> log.Log(log.SchedUGM).Error("Child queueTracker tracker
> must be available in child queues map",
> zap.String("child queueTracker name",
> immediateChildQueueName)) <--- not an error
> return nil
> }
> }
> {noformat}
> As we discussed offline, this is not an error and should not be logged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]