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

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

Wilfred Spiegelenburg created YUNIKORN-590:
----------------------------------------------

             Summary: 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


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