[
https://issues.apache.org/jira/browse/YUNIKORN-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803635#comment-17803635
]
Craig Condit commented on YUNIKORN-2311:
----------------------------------------
Example:
{code:java}
2024-01-05T11:15:58.926-0600 WARN core.scheduler.queue
objects/queue.go:400 max resources setting ignored: cannot set zero max
resources {"queue":
"a"}github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Queue).setResources
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:400github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Queue).applyConf
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:350github.com/apache/yunikorn-core/pkg/scheduler/objects.NewConfiguredQueue
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:127github.com/apache/yunikorn-core/pkg/scheduler.(*PartitionContext).addQueue
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/partition.go:196github.com/apache/yunikorn-core/pkg/scheduler.(*PartitionContext).initialPartitionFromConfig
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/partition.go:120github.com/apache/yunikorn-core/pkg/scheduler.newPartitionContext
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/partition.go:99github.com/apache/yunikorn-core/pkg/scheduler.(*ClusterContext).updateSchedulerConfig
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/context.go:368github.com/apache/yunikorn-core/pkg/scheduler.(*ClusterContext).processRMConfigUpdateEvent
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/context.go:239github.com/apache/yunikorn-core/pkg/scheduler.(*Scheduler).handleRMEvent
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/scheduler.go:1382024-01-05T11:15:58.927-0600
WARN core.scheduler.queue objects/queue.go:426 guaranteed resources
setting ignored: cannot set zero guaranteed resources {"queue":
"a"}github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Queue).setResources
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:426github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Queue).applyConf
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:350github.com/apache/yunikorn-core/pkg/scheduler/objects.NewConfiguredQueue
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/objects/queue.go:127github.com/apache/yunikorn-core/pkg/scheduler.(*PartitionContext).addQueue
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/partition.go:196github.com/apache/yunikorn-core/pkg/scheduler.(*PartitionContext).initialPartitionFromConfig
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/partition.go:120github.com/apache/yunikorn-core/pkg/scheduler.newPartitionContext
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/partition.go:99github.com/apache/yunikorn-core/pkg/scheduler.(*ClusterContext).updateSchedulerConfig
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/context.go:368github.com/apache/yunikorn-core/pkg/scheduler.(*ClusterContext).processRMConfigUpdateEvent
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/context.go:239github.com/apache/yunikorn-core/pkg/scheduler.(*Scheduler).handleRMEvent
/Users/ccondit/go/pkg/mod/github.com/apache/[email protected]/pkg/scheduler/scheduler.go:138
{code}
> Log spew on nil guaranteed / max resources after YUNIKORN-2169
> --------------------------------------------------------------
>
> Key: YUNIKORN-2311
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2311
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: Craig Condit
> Assignee: Manikandan R
> Priority: Major
>
> YUNIKORN-2169 made changes to the processing of queue resources. However,
> some DEBUG messages related to nil resources were changed to WARN instead.
> This produces ugly stack traces and should be reverted (all levels >= WARN
> produce stack traces). DEBUG was appropriate as this is a normal and even
> frequent condition, as it's common to have queues which have unspecified max
> or guaranteed resources. Even INFO would be too verbose in this scenario.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]