[ https://issues.apache.org/jira/browse/YARN-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951779#comment-13951779 ]
Xuan Gong commented on YARN-1879: --------------------------------- ApplicationMasterService#registerApplicationMaster does have the lastResponse stuff. So, I think that it is OK for us to add the annotation in this ticket. ApplicationMasterService#finishApplicationMaster is to submit RMAppAttemptUnregistrationEvent, and check status. So, adding idempotent annotation is OK, too So, we can fix three of APIs together in this ticket. Mark * allocation --> AtMostOnce * registerApplicationMaster --> Idempotent * finishApplicationMaster --> Idempotent > Mark Idempotent/AtMostOnce annotations to ApplicationMasterProtocol > ------------------------------------------------------------------- > > Key: YARN-1879 > URL: https://issues.apache.org/jira/browse/YARN-1879 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Jian He > Assignee: Tsuyoshi OZAWA > Priority: Blocker > -- This message was sent by Atlassian JIRA (v6.2#6252)