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

Rohith Sharma K S commented on YARN-4014:
-----------------------------------------

bq. we can make updateApplicationPriority throw an 
ApplicationNotRunningException and let client catch the exception and prints 
“Application not running “ msg
In {{ClientRMService#updateApplicationPriority}}, update priority to scheduler 
will not be called if application is in NEW , NEW_SAVING also. So I feel having 
new exception ApplicationNotRunningException would lead to confusion. I think 
we can throw YarnException with message "Application in <app-state> state 
cannot be update priority."  Any thoughts?



> Support user cli interface in for Application Priority
> ------------------------------------------------------
>
>                 Key: YARN-4014
>                 URL: https://issues.apache.org/jira/browse/YARN-4014
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: client, resourcemanager
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>         Attachments: 0001-YARN-4014-V1.patch, 0001-YARN-4014.patch
>
>
> Track the changes for user-RM client protocol i.e ApplicationClientProtocol 
> changes and discussions in this jira.



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

Reply via email to