You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/20 01:55:00 UTC

[jira] [Updated] (YUNIKORN-445) Panic in Resource.String() with nil resource

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

ASF GitHub Bot updated YUNIKORN-445:
------------------------------------
    Labels: pull-request-available  (was: )

> Panic in Resource.String() with nil resource
> --------------------------------------------
>
>                 Key: YUNIKORN-445
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-445
>             Project: Apache YuniKorn
>          Issue Type: Task
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: pull-request-available
>
> The scheduler can log a panic when the logging system tries to log a nil resource.
> An example for a log entry:
> {code}
> 2020-10-10T01:57:55.882Z	ERROR	cache/queue_info.go:261	parent queue exceeds maximum resource	{"allocationId": "map[memory:1]", "maxResourceError": "PANIC=runtime error: invalid memory address or nil pointer dereference", "error": "allocation (map[memory:1]) puts queue root over maximum allocation (map[attachable-volumes-aws-ebs:475 ephemeral-storage:-528315005700 hugepages-1Gi:0 hugepages-2Mi:0 memory:1898860 pods:3450 vcore:264875])"}
> github.com/apache/incubator-yunikorn-core/pkg/cache.(*QueueInfo).IncAllocatedResource
> 	/grid/0/jenkins/workspace/workspace/App_builds/SOURCES/yunikorn-core/pkg/cache/queue_info.go:261
> github.com/apache/incubator-yunikorn-core/pkg/cache.(*PartitionInfo).addNewAllocationInternal
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org