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

Varun Vasudev commented on YARN-3970:
-------------------------------------

bq. Application's Priority is currently available as part of the application 
report (/apps or /apps/{appid}) , explicit separate API for getting Application 
Priority is req ?
It's useful to have.

bq. when rootUnwrapping needs to be set to true and when to false? 

If you want the AppPriority dao JSON to be \{ "apppriority": \{ "priority": 8 } 
}, set root unwrapping to be false. If you want it to be \{ "priority": 8}, set 
it to true.

I also forgot to mention, please update the web services documentation 
providing examples of how to use the REST service.

> 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