[
https://issues.apache.org/jira/browse/YUNIKORN-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176792#comment-17176792
]
Sunil G commented on YUNIKORN-359:
----------------------------------
[~wilfreds], I also thought initially same way. But the pblm is the cost of
having {{/ws/v1/<partition>/queues}}
On a second thought, since we are not even in 1.0 version, may be we can go
like above URL. This is breaking compatibility but this may be a time to get
that one cleaned up.
Concept of default/first is not cleaner for sure, but if we are going with
{{/ws/v1/queues}} , i think we dnt have much cleaner solution i guess.
{{/ws/v1/partitions - get all partitions from YK}}
{{/ws/v1/<partition>/queues}} - get all queues of a partition
{{/ws/v1/<partition>/applications - }} get all apps of a partition
{{/ws/v1/nodes - total nodes in a cluster. (This may not be agnostic to
partition, correct)}}
> Support for "queue" query param filter
> --------------------------------------
>
> Key: YUNIKORN-359
> URL: https://issues.apache.org/jira/browse/YUNIKORN-359
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Reporter: Manikandan R
> Assignee: Manikandan R
> Priority: Major
>
> Support "queue" query param filter to the following handlers:
>
> 1. /ws/v1/queues
> Return only queue info whose name exactly matches with "queue" query param
> 2. /ws/v1/nodes
> As of now, Each Node Info has all allocations made on that Node. With this
> change, it returns only Node info of Nodes whose allocation queue name
> exactly matches with "queue" query param. In effect, filter happens on
> allocations.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]