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/07/10 10:11:49 UTC

[jira] [Commented] (HADOOP-9717) Add retry flag/retry attempt count to the RPC requests

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

Suresh Srinivas commented on HADOOP-9717:
-----------------------------------------

There are two choices on how the retry information can be conveyed from the client to the server:
# Add a boolean field "retry" which is set to false for first attempt and true for subsequent retries.
# Add an int (or byte?) field "retryCount" which is set to 0 for the first attempt and then to retry count for retried requests.

I prefer the option 2. Comments?
                
> Add retry flag/retry attempt count to the RPC requests
> ------------------------------------------------------
>
>                 Key: HADOOP-9717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9717
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Suresh Srinivas
>
> RetryCache lookup on server side implementation can be optimized if Rpc request indicates if the request is being retried. This jira proposes adding an optional field to Rpc request that indicates if request is being 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