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

Karthik Kambatla commented on YARN-1521:
----------------------------------------

Sorry for the delay in getting to this. Haven't look at the patch itself yet. 

{quote} 
ApplicationMasterProtocol
1. registerApplicationMaster
2. finishApplicationMaster
3. allocate
{quote}
Don't remember the source corresponding to these methods off the top of my 
head, but would think we *should* mark all of them as well. I am okay with 
doing this in a separate JIRA to unblock this.
# Register resets the sequence number - Idempotent. YARN-556 allows a running 
AM to re-register, albeit on resync.
# Finish should be similar to kill - Idempotent. Should be similar to 
killApplication?
# Allocate - Idempotent or AtMostOnce - as the AM heartbeats periodically. 
Preferably Idempotent. 



> Mark appropriate protocol methods with the idempotent annotation or 
> AtMostOnce annotation
> -----------------------------------------------------------------------------------------
>
>                 Key: YARN-1521
>                 URL: https://issues.apache.org/jira/browse/YARN-1521
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-1521.0.patch, YARN-1521.1.patch, YARN-1521.2.patch
>
>
> After YARN-1028, we add the automatically failover into RMProxy. This JIRA is 
> to identify whether we need to add idempotent annotation and which methods 
> can be marked as idempotent.



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

Reply via email to