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

Peter Bacsko resolved YUNIKORN-2301.
------------------------------------
    Target Version: 1.5.0
        Resolution: Fixed

Merged to master. Thanks for the contribution [~junyan-ling] 

> lots of WARN messages when publishing events due to task not found
> ------------------------------------------------------------------
>
>                 Key: YUNIKORN-2301
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2301
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>            Reporter: Junyan Ling
>            Assignee: Junyan Ling
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>         Attachments: image-2024-01-02-13-55-07-067.png
>
>
> lots of WARN messages when publishing events due to task not found
>  
> 2023-11-30T16:11:07.057-0800    WARN    shim.context    cache/context.go:1048 
>   task event is not published because task is not found   \{"appID": 
> "1be9d9ac-4d77-4944-86e9-9d8eba13eb6d", "taskID": "job2-qb", "event": 
> "type:REQUEST  objectID:\"1be9d9ac-4d77-4944-86e9-9d8eba13eb6d\"  
> message:\"Application job2-qb does not fit into root.b queue (request resoure 
> map[nvidia.com/gpu:1 pods:1 vcore:1000], headroom 
> map[ephemeral-storage:1079956586496 hugepages-1Gi:0 hugepages-2Mi:0 
> hugepages-32Mi:0 hugepages-64Ki:0 memory:10000000000 nvidia.com/gpu:0 
> pods:320 vcore:2000])\"  timestampNano:1701389466504995000  
> referenceID:\"job2-qb\"  resource:{resources:{key:\"nvidia.com/gpu\"  
> value:{value:1}}  resources:\{key:\"pods\"  value:{value:1}}  
> resources:\{key:\"vcore\"  value:{value:1000}}}"}
>  
> https://github.com/apache/yunikorn-k8shim/blob/master/pkg/cache/context.go#L1042-L1043
>  
> current code: 
> appID := record.ObjectID
> taskID := record.ReferenceID
>  
> instead, it looks like it should be: 
> appID := record.ReferenceID
> taskID := record.ObjectID
>  
> !image-2024-01-02-13-55-07-067.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to