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

Jian He commented on YARN-1521:
-------------------------------

- getNewApplicationId , getDelegationToken. since each call returns a new 
ID/Token,  not sure this matches with idempotency.
- For the registers protocols. For example, registerNodeManager : if previous 
call succeeds, RM didn't crash, registerNodeManager retry because of some 
network problem, the next call comes in, this node is deemed as a reconnected 
node instead of a new node.  Probably AtMostOnce?

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