You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2023/07/31 10:15:00 UTC

[jira] [Assigned] (YUNIKORN-1891) Remove misleading error message from QueueTracker

     [ https://issues.apache.org/jira/browse/YUNIKORN-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko reassigned YUNIKORN-1891:
--------------------------------------

    Assignee: Manikandan R  (was: Peter Bacsko)

> 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))
> 			return nil
> 		}   <--- not an error
> 	}
> {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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org