hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1521) Mark appropriate protocol methods with the idempotent annotation or AtMostOnce annotation
Date Fri, 14 Mar 2014 23:34:43 GMT

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

Xuan Gong commented on YARN-1521:
---------------------------------

But first of all, we need to find which apis can be marked as Idempotent
Here is the list of APIs that I think we can mark as Idempotent:
* ResourceTracker
** registerNodeManager
** nodeHeartbeat

* ResourceManagerAdministrationProtocol
** refreshQueues
** refreshNodes
** refreshSuperUserGroupsConfiguration
** refreshUserToGroupsMappings
** refreshAdminAcls
** refreshServiceAcls

* ApplicationClientProtocol
** forceKillApplication
** getApplicationReport (already marked)
** getClusterMetrics
** getApplications
** getClusterNodes
** getQueueInfo
** getQueueUserAcls
** getApplicationAttemptReport
** getApplicationAttempts
** getContainerReport
** getContainers


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

Mime
View raw message