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

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

Couple of things -
1. Can you add a GET method for the priority as well?
2. The JSON produced converts the integer to a string(\{"priority":"8"}). You 
can fix this by adding the AppPriority class to 
org.apache.hadoop.yarn.server.resourcemanager.webapp.JAXBContextResolver.

> 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