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

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

Thanks [~vvasudev], for the review.
bq. Can you add a GET method for the priority as well?
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 ?

bq.The JSON produced converts the integer to a string({"priority":"8"})
Adding it to JAXBContextResolver.rootUnWrappedTypes worked as you suggested, 
but wanted to know when to put to {{rootUnWrappedTypes}} and {{cTypes}} i.e. 
when rootUnwrapping needs to be set to true and when to false? 

Only 3rd checkstyle issue is valid and once [~vvasudev] confirms, will provide 
the corrections in next 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