You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2023/08/01 16:18:00 UTC

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

    [ https://issues.apache.org/jira/browse/YUNIKORN-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749929#comment-17749929 ] 

Manikandan R commented on YUNIKORN-1891:
----------------------------------------

Addressed as part of https://github.com/apache/yunikorn-core/pull/600. Hence closing this.

> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org