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

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

Thanks [~rohithsharma], 
As per the offline discussion we had, as CLI has not yet been handled for 
displaying "default priority of a queue" & "get cluster max priority", focusing 
only on set (more like update)Priority of an application through REST 
P.S. get is already handled as part of Applicationreport from getApps.
REST URL which i am planning for updating priority of the application is : 
{{"/ws/v1/cluster/apps/\{appid\}/priority"}} 
And planning to invoke {{rm.getClientRMService().updateApplicationPriority()}} 
to achieve the App priority update.

> 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
>
> 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