You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Kiran Arangale (Jira)" <ji...@apache.org> on 2024/04/19 05:24:00 UTC
[jira] [Commented] (YUNIKORN-2562) Nil pointer panic in Application.ReplaceAllocation()
[ https://issues.apache.org/jira/browse/YUNIKORN-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838864#comment-17838864 ]
Kiran Arangale commented on YUNIKORN-2562:
------------------------------------------
[~pbacsko] - Thanks and appreciate your effortsÂ
> Nil pointer panic in Application.ReplaceAllocation()
> ----------------------------------------------------
>
> Key: YUNIKORN-2562
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2562
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
> Labels: pull-request-available
>
> The following panic was generated during placeholder replacement:
> {noformat}
> 2024-04-16T13:46:58.583Z INFO shim.cache.task cache/task.go:542 releasing allocations {"numOfAsksToRelease": 1, "numOfAllocationsToRelease": 1}
> 2024-04-16T13:46:58.583Z INFO shim.fsm cache/task_state.go:380 Task state transition {"app": "application-spark-abrdrsmo8no2", "task": "cd73be15-af61-4248-89e1-d3296e72214e", "taskAlias": "obem-spark/tg-application-spark-abrdrsmo8n-spark-driver-y71h0amzo5", "source": "Bound", "destination": "Completed", "event": "CompleteTask"}
> 2024-04-16T13:46:58.584Z INFO core.scheduler.application objects/application.go:616 ask removed successfully from application {"appID": "application-spark-abrdrsmo8no2", "ask": "cd73be15-af61-4248-89e1-d3296e72214e", "pendingDelta": "map[]"}
> 2024-04-16T13:46:58.584Z INFO core.scheduler.partition scheduler/partition.go:1281 replacing placeholder allocation {"appID": "application-spark-abrdrsmo8no2", "allocationID": "cd73be15-af61-4248-89e1-d3296e72214e"}
> panic: runtime error: invalid memory address or nil pointer dereference
> [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x17e1255]
> goroutine 117 [running]:
> github.com/apache/yunikorn-core/pkg/scheduler/objects.(*Application).ReplaceAllocation(0xc008c46600, {0xc007710cf0, 0x24})
> github.com/apache/yunikorn-core@v1.5.0-3/pkg/scheduler/objects/application.go:1745 +0x615
> github.com/apache/yunikorn-core/pkg/scheduler.(*PartitionContext).removeAllocation(0xffffffffffffffff?, 0xc009786700)
> github.com/apache/yunikorn-core@v1.5.0-3/pkg/scheduler/partition.go:1284 +0x28b
> github.com/apache/yunikorn-core/pkg/scheduler.(*ClusterContext).processAllocationReleases(0xc00be64ba0?, {0xc00bb1af90, 0x1, 0x40a0fa?}, {0x1e0d902, 0x9})
> github.com/apache/yunikorn-core@v1.5.0-3/pkg/scheduler/context.go:870 +0x9e
> github.com/apache/yunikorn-core/pkg/scheduler.(*ClusterContext).handleRMUpdateAllocationEvent(0xc0005f5f58?, 0xc0071a3f10?)
> github.com/apache/yunikorn-core@v1.5.0-3/pkg/scheduler/context.go:750 +0xa5
> github.com/apache/yunikorn-core/pkg/scheduler.(*Scheduler).handleRMEvent(0xc000700540)
> github.com/apache/yunikorn-core@v1.5.0-3/pkg/scheduler/scheduler.go:133 +0x1c5
> created by github.com/apache/yunikorn-core/pkg/scheduler.(*Scheduler).StartService in goroutine 1
> github.com/apache/yunikorn-core@v1.5.0-3/pkg/scheduler/scheduler.go:60 +0x9c
> {noformat}
--
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