You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2021/05/22 05:26:00 UTC

[jira] [Resolved] (YUNIKORN-590) GetPlaceholderTimeoutParam: undefined param is not an error

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

Weiwei Yang resolved YUNIKORN-590.
----------------------------------
    Resolution: Fixed

> GetPlaceholderTimeoutParam: undefined param is not an error
> -----------------------------------------------------------
>
>                 Key: YUNIKORN-590
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-590
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>    Affects Versions: 0.10
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Chen Yu Teng
>            Priority: Minor
>              Labels: newbie, pull-request-available
>             Fix For: 0.11
>
>
> The {{GetPlaceholderTimeoutParam()}}  return an error when the {{schedulingPolicyParameters}} is not defined. There is no requirement to provide the scheduling policy parameter which means that the absence should not return an error. It should just {{return nil, nil}} like the other functions in utils.
> After this fix the change for YUNIKORN-565 needs to be updated and converted into a real error log as it found the parameter but could not convert it. Just like we do for {{GetTaskGroupsFromAnnotation()}} in the same method in the general code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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