[
https://issues.apache.org/jira/browse/YUNIKORN-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471960#comment-17471960
]
Neo Chien commented on YUNIKORN-959:
------------------------------------
Hi [~wilfreds]
Do we need to add the difference into partition{}?
{code:java}
/ws/v1/clusters
ClusterInfo {
clusterName: string;
clusterStatus?: string;
activeNodes: string;
failedNodes: string;
totalNodes: string;
completedApplications: string;
failedApplications: string;
pendingApplications: string;
runningApplications: string;
totalApplications: string;
failedContainers: string;
pendingContainers: string;
runningContainers: string;
totalContainers: string;
}{code}
{code:java}
/ws/v1/partitions
Partition {
name: string;
capacity: {
capacity: string;
usedCapacity: string;
};
nodeSortingPolicy: string;
applications: {
Expired: number;
Running: number;
total: number;
};
state: string;
lastStateTransitionTime: string;
} {code}
> 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: [email protected]
For additional commands, e-mail: [email protected]