You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Lin You-Xuan (Jira)" <ji...@apache.org> on 2022/03/02 08:54:00 UTC

[jira] [Assigned] (YUNIKORN-1102) shim context getTask error is ignored

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

Lin You-Xuan reassigned YUNIKORN-1102:
--------------------------------------

    Assignee: Lin You-Xuan

> shim context getTask error is ignored
> -------------------------------------
>
>                 Key: YUNIKORN-1102
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1102
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: shim - kubernetes
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Lin You-Xuan
>            Priority: Major
>              Labels: newbie
>
> The {{context.getTask()}} call returns a {{Task}} struct and an error. In all cases either the task is nil or the error is nil. The error returned is also fixed and does not provide any detail not known without it (i.e. "application is not found" which only partially covers the cases)
> We need to bring the call in line with _GetApplication_ and the _GetNode_ in the cache and just return the task and handle the nil return.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org