Wilfred Spiegelenburg created YUNIKORN-445:
----------------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]