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

Zhijie Shen commented on YARN-1714:
-----------------------------------

bq. 2. I'm not aware of any REST API does the same thing, can you give me some 
examples?

You can  have a look at RMWebServices#getApps. IMO, it's good to add all these 
filters in one round instead of one after the other, unless different filters 
really differs a lot in the way they're going to be presented.

bq. 3. For now, users have to edit url, but we can also provide direct link 
where people can click to get in this page. Moreover, we can automatically take 
user name and call this new url directly in the future when turning on security.

It's a good idea that in secured mode, the users login to the apps page that 
only shows their own app list. However, I still think some interactive method 
should be provided to users to filter apps, instead of editing URL directly. 
For example, I'm an Admin, and want to watch the applications from another user.

Anyway, if your use case doesn't care about interaction on web UI, but the app 
list, the current REST API should already serve you well. Otherwise, we should 
make web UI more interactive.



> Per user and per queue view in YARN RM
> --------------------------------------
>
>                 Key: YARN-1714
>                 URL: https://issues.apache.org/jira/browse/YARN-1714
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Siqi Li
>            Assignee: Siqi Li
>            Priority: Critical
>         Attachments: YARN-1714.v1.patch, YARN-1714.v2.patch, 
> YARN-1714.v3.patch
>
>
> ResourceManager exposes either one or all jobs via WebUI. It would be good to 
> have filter for user so that see only their jobs.
> Provide rest style url to access only user specified queue or user apps. 
> For instance,
> http://hadoop-example.com:50030/cluster/user/toto                             
>             displays apps owned by toto
> http://hadoop-example.com:50030/cluster/user/toto,glinda                      
>         displays apps owned by toto and glinda
> http://hadoop-example.com:50030/cluster/queue/root.queue1                     
>    displays apps in root.queue1
> http://hadoop-example.com:50030/cluster/queue/root.queue1,root.queue2   
> displays apps in root.queue1 and  root.queue2



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to