You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2013/08/01 05:25:49 UTC
[jira] [Commented] (HADOOP-9792) Retry the methods that are tagged
@AtMostOnce along with @Idempotent
[ https://issues.apache.org/jira/browse/HADOOP-9792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726005#comment-13726005 ]
Suresh Srinivas commented on HADOOP-9792:
-----------------------------------------
[~atm] There is an excellent coverage of this at http://www.ee.tamu.edu/~reddy/ee602_00/rpc_04.doc.
Please read the doc. While retriable could be an easier tag for people to understand, at-most-once is the right tag. Also if you have retriable, you do not need idempotent tag as well, since by definition idempotent are retriable. Current annotations are much better; one knows what operations are idempotent and what provide at-most-once semantics. Again I have to disagree that retry-cache makes an operation idempotent.
> Retry the methods that are tagged @AtMostOnce along with @Idempotent
> --------------------------------------------------------------------
>
> Key: HADOOP-9792
> URL: https://issues.apache.org/jira/browse/HADOOP-9792
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ipc
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Fix For: 2.1.0-beta
>
> Attachments: HADOOP-9792.1.patch, HADOOP-9792.patch
>
>
> Currently the operations marked as @Idempotent are retried. Now that we have added new operations that are marked @AtMostOnce that guaranteed to be executed only once with the help of RetryCache on server implementation, these methods should also be retried.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira