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 2022/03/09 05:55:00 UTC

[jira] [Commented] (YUNIKORN-959) simplify partition info in the REST call

    [ https://issues.apache.org/jira/browse/YUNIKORN-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503312#comment-17503312 ] 

Wilfred Spiegelenburg commented on YUNIKORN-959:
------------------------------------------------

Sorry [~cchung100m] I did not see this update.

If you look at what we add in the {{getClusterJSON()}} call to the cluster DAO you see that it is mostly partition based information. Those details should be moved into the partition DAO as that is where they belong.

These should be added to the partition detail:
 * TotalApplications
 * TotalContainers
 * TotalNodes
 * RunningApplications
 * RunningContainers
 * ActiveNodes

Checking with [~akhilpb] as to the impact on the web UI.

> simplify partition info in the REST call
> ----------------------------------------
>
>                 Key: YUNIKORN-959
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-959
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Priority: Major
>
> The old and new REST calls have two really similar end points:
>  * old: {{/ws/v1/clusters}}
>  * new: {{/ws/v1/partitions}}
> The two calls expose similar details but not equivalent. The old call needs to be removed and cleaned up



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