[
https://issues.apache.org/jira/browse/YUNIKORN-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kuan Po Tseng resolved YUNIKORN-2482.
-------------------------------------
Fix Version/s: 1.6.0
Resolution: Resolved
merged to master, thanks for the contribution, @ryankert01 !
> Failure to set template does not return error
> ---------------------------------------------
>
> Key: YUNIKORN-2482
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2482
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: Wilfred Spiegelenburg
> Assignee: Hsien-Cheng(Ryan) Huang
> Priority: Major
> Labels: newbie, pull-request-available
> Fix For: 1.6.0
>
>
> The update of setting a template on a parent could fail if the template is
> not correct. The error is swallowed and a success is returned but the update
> of the queue has not finished correctly:
> *Queue.applyConf()
> {code:go}
> if !sq.isLeaf {
> if err = sq.setTemplate(conf.ChildTemplate); err != nil {
> return nil
> }
> } {code}
> Need to add tests to make sure we do not regress.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]