Chaoran Yu created YUNIKORN-600:
-----------------------------------
Summary: Placeholder manager needs to initialize the orphan pods
map
Key: YUNIKORN-600
URL: https://issues.apache.org/jira/browse/YUNIKORN-600
Project: Apache YuniKorn
Issue Type: Bug
Components: shim - kubernetes
Reporter: Chaoran Yu
https://github.com/apache/incubator-yunikorn-k8shim/blob/8f15278328400d46c64f476b936a764150f250b3/pkg/cache/placeholder_manager.go#L51-L54.
During the placeholder manager creation process, the orphanPod field (btw, a
better name is orphanPods because there could be more than one of them) wasn’t
initialized. The consequence is that during placeholder cleanup, this line
https://github.com/apache/incubator-yunikorn-k8shim/blob/8f15278328400d46c64f476b936a764150f250b3/pkg/cache/placeholder_manager.go#L101
will fail with:
panic: assignment to entry in nil map
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]