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

Sunil G commented on YUNIKORN-359:
----------------------------------

Thanks for pointing this out [[email protected]]

We use {{ClusterInfo.ListPartitions()}} in general to get all partition and 
then work within the same to fetch all required data. Its much better if we 
stick the results back to user for queues with the context of a partition.

Hence we can tune these api's to take a param called partition name (not 
mandatory), and if not specified then we can take the default one.

This may be a cleaner way for now before we do a massive change out.

I ll share some more details on this shortly,

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

Reply via email to