You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Hsien-Cheng Huang (Jira)" <ji...@apache.org> on 2024/04/09 03:56:00 UTC
[jira] [Assigned] (YUNIKORN-2482) Failure to set template does not return error
[ https://issues.apache.org/jira/browse/YUNIKORN-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hsien-Cheng Huang reassigned YUNIKORN-2482:
-------------------------------------------
Assignee: Hsien-Cheng Huang
> 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 Huang
> Priority: Major
> Labels: newbie
>
> 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:java}
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org