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

JiaChi Wang commented on YUNIKORN-2461:
---------------------------------------

Another similar issue 
[YUNIKORN-2235|https://issues.apache.org/jira/browse/YUNIKORN-2235] categorizes 
the state into 3 type: active, rejected and completed. This issue only focus on 
active type, allowing users to filter applications by states such as new, 
accepted, running and so on. 

> Consider supporting 
> /ws/v1/partition/{partitionName}/queue/{queueName}/applications/:state
> ------------------------------------------------------------------------------------------
>
>                 Key: YUNIKORN-2461
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2461
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: JiaChi Wang
>            Priority: Minor
>
> from [https://github.com/apache/yunikorn-site/pull/390#discussion_r1468916528]
> We have variety of endpoints to get application:
> {code}
> /ws/v1/partition/:partition/queue/:queue/application/:application
> {code}
> {code}
> /ws/v1/partition/:partition/application/:application
> {code}
> However, The API of getting applications by the state filter has no such 
> variety. Currently, only following API is supported
> {code}
> /ws/v1/partition/:partition/applications/:state
> {code}
> we should support the following one:
> {code}
> /ws/v1/partition/:partition/queue/:queue/applications/:state
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to