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/11/22 22:54:00 UTC

[jira] [Resolved] (YUNIKORN-950) Add missing HTTP routes regarding statedump feature

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

Wilfred Spiegelenburg resolved YUNIKORN-950.
--------------------------------------------
     Fix Version/s: 0.12
    Target Version: 0.12
        Resolution: Fixed

Added extra routes, thank you for the fix [~pbacsko] 

> Add missing HTTP routes regarding statedump feature
> ---------------------------------------------------
>
>                 Key: YUNIKORN-950
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-950
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.12
>
>
> In YUNIKORN-940, only the following route was introduced:
> {noformat}
> 	route{
> 		"Scheduler",
> 		"PUT",
> 		"/ws/v1/periodicstatedump/{switch}/{periodSeconds}",
> 		handlePeriodicStateDump,
> 	},
> {noformat}
> This is not enough. If we want to gracefully handle the situation when either "switch" or both "switch" and "periodSeconds" are missing, then we have to define them explicitly.



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