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

Vinod Kumar Vavilapalli commented on YARN-2209:
-----------------------------------------------

Makes sense. We need to be consistent across allocate/unregister calls. For 
things like shut-down and resync, I prefer exceptions. We can deprecate the 
corresponding AMCommands.

> Replace allocate#resync command with ApplicationMasterNotRegisteredException 
> to indicate AM to re-register on RM restart
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2209
>                 URL: https://issues.apache.org/jira/browse/YARN-2209
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jian He
>            Assignee: Jian He
>
> YARN-1365 introduced an ApplicationMasterNotRegisteredException to indicate 
> application to re-register on RM restart. we should do the same for 
> AMS#allocate call also.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to