[ https://issues.apache.org/jira/browse/YUNIKORN-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated YUNIKORN-770: ------------------------------------ Labels: pull-request-available (was: ) > Avoid unexpected DEBUG log in scheduler_cache.go#removePod > ---------------------------------------------------------- > > Key: YUNIKORN-770 > URL: https://issues.apache.org/jira/browse/YUNIKORN-770 > Project: Apache YuniKorn > Issue Type: Bug > Components: shim - kubernetes > Reporter: Chia-Ping Tsai > Priority: Minor > Labels: pull-request-available > > {code:go} > n, ok := cache.nodesMap[pod.Spec.NodeName] > if !ok { > return fmt.Errorf("node %v is not found", pod.Spec.NodeName) > } > if err := n.RemovePod(pod); err != nil { > return err > } > {code} > It can causes DEBUG log("node is not found") if node name is an empty > string. For example: the pod status is updated (according to outstanding > requests) before it is assumed to be run on a node. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org