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

Sunil G commented on YARN-3250:
-------------------------------

Hi [~imstefanlee]
I think what you are asking is a general question related to add/modify api in 
{{ResourceManagerAdministrationProtocol}}. You can write to dev yarn group also 
for same.

IN a nutshell, 
- you can add/modify the proto file 
"yarn_server_resourcemanager_service_protos.proto".
- generate the proto files from this changed proto. Usuall mvn install will do 
this.
- Now if this its a new api, add new impl class to handle them. I
- If you have edited one api, for example from 
{{RefreshClusterMaxPriorityRequestPBImpl}}, you can open this file and handle 
the changes in api (a new param is added/removed etc)




> Support admin cli interface in for Application Priority
> -------------------------------------------------------
>
>                 Key: YARN-3250
>                 URL: https://issues.apache.org/jira/browse/YARN-3250
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Sunil G
>            Assignee: Rohith Sharma K S
>             Fix For: 2.8.0, 3.0.0-alpha1
>
>         Attachments: 0001-YARN-3250-V1.patch, 0002-YARN-3250.patch, 
> 0003-YARN-3250.patch
>
>
> Current Application Priority Manager supports only configuration via file. 
> To support runtime configurations for admin cli and REST, a common management 
> interface has to be added which can be shared with NodeLabelsManager. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to