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

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

If the application is in SUBMITTED state, update priority should not be called 
because application would not be added to scheduler. In ACCEPTED state, update 
priority can be called. 
One of the doubt Jian He hasis  if application is in ACCEPTED state, then 
application attempt would not be created. I rechecked the code flow, where we 
can do  update in ACCEPTED state even though application is not created. IIRR, 
While doing YARN-3887, this specific scenario we discussed and handled *null* 
entry adding to SchedulableEntity.

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