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 "Xiaobing Zhou (JIRA)" <ji...@apache.org> on 2016/05/01 07:35:13 UTC

[jira] [Commented] (HADOOP-12957) Limit the number of outstanding async calls

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

Xiaobing Zhou commented on HADOOP-12957:
----------------------------------------

The previous format string is fine, but FindBugs just mistakingly thinks '%d\n' as '%n'. Patch v010 is posted to have the change:
{code}
String errMsg = String.format(
            "Exceeded limit of max asynchronous calls: %d, " +
            "please configure %s to adjust it.",
            CommonConfigurationKeys.IPC_CLIENT_ASYNC_CALLS_MAX_DEFAULT,
            CommonConfigurationKeys.IPC_CLIENT_ASYNC_CALLS_MAX_KEY);
{code}

Thank you for review.

> Limit the number of outstanding async calls
> -------------------------------------------
>
>                 Key: HADOOP-12957
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12957
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HADOOP-12957-HADOOP-12909.000.patch, HADOOP-12957-combo.000.patch, HADOOP-12957.001.patch, HADOOP-12957.002.patch, HADOOP-12957.003.patch, HADOOP-12957.004.patch, HADOOP-12957.005.patch, HADOOP-12957.006.patch, HADOOP-12957.007.patch, HADOOP-12957.008.patch, HADOOP-12957.009.patch, HADOOP-12957.010.patch
>
>
> In async RPC, if the callers don't read replies fast enough, the buffer storing replies could be used up. This is to propose limiting the number of outstanding async calls to eliminate the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org