Varun Vasudev commented on YARN-3970:

bq. It would be good to know the scenario too, IMHO the Application Report got 
from the REST call also is not bulky and currently we do not have any rest 
calls to get individual items of the Application report like the queue name 
which it has been submitted to, or the node label expression etc.. so would it 
help to have separate REST for priority only ? also if REST is required, would 
it be req in the case of CLI too ?

It's useful when you use the web service to change the priority and want to 
confirm that it got changed. The equivalent GET call exists for the app queue 
and it should probably exist for the node label expression as well.

> REST api support for Application Priority
> -----------------------------------------
>                 Key: YARN-3970
>                 URL: https://issues.apache.org/jira/browse/YARN-3970
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: webapp
>    Affects Versions: 2.7.1
>            Reporter: Sunil G
>            Assignee: Naganarasimha G R
>         Attachments: YARN-3970.20150828-1.patch, YARN-3970.20150829-1.patch, 
> YARN-3970.20150831-1.patch
> REST api support for application priority.
> - get/set priority of an application
> - get default priority of a queue
> - get cluster max priority

This message was sent by Atlassian JIRA

Reply via email to