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

Weiwei Yang commented on YUNIKORN-283:
--------------------------------------

hi [~Huang Ting Yao]

Do you want to take a look at this one? We have all our webapp code here: 
https://github.com/apache/incubator-yunikorn-core/tree/master/pkg/webservice. 
where you can see the handlers, routers. This JIRA can split to several 
sub-tasks, I think you can get started with adding parameters for 
{{ws/v1/apps}}.

Then we can create separate ones for {{ws/v1/nodes}} and {{ws/v1/queues}}.

To test this, you can simply run the scheduler locally: 
http://yunikorn.apache.org/docs/get_started/developer_guide#locally-run-the-integrated-scheduler.
 And then access the web UI from http://localhost:9080/ws/v1/apps



> Support query params to filter the apps using queue name/namespace for 
> v1/apps endpoint
> ---------------------------------------------------------------------------------------
>
>                 Key: YUNIKORN-283
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-283
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: webapp
>            Reporter: Ayub Pathan
>            Assignee: Ting Yao,Huang
>            Priority: Critical
>             Fix For: 0.9
>
>
> In an environment where there are multiple apps running at any point in time, 
> there is no way to filter out the apps running on any particular queue. This 
> Jira is add support for filtering the apps via query params, something like 
> ??{{v1/apps?queue=spark-jobs..}}??
>  
> The same can be extended for other end points as well. like 
> /ws/v1/nodes, 
> /ws/v1/queues etc...



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