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

Naganarasimha G R commented on YARN-3970:
-----------------------------------------

Thanks for the comments [~vvasudev],
bq. It's useful to have.
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 ?

bq. If you want the AppPriority dao JSON to be { "apppriority": { "priority": 8 
} }, set root unwrapping to be false.
Well realized this while testing but my query was more like when we require 
root unwrapping to be true and when to be false ?

Will handle the WebServices Documentation update too as part of this patch.


> 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
(v6.3.4#6332)

Reply via email to