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

Yongjun Zhang edited comment on HADOOP-12909 at 2/26/19 11:13 PM:
------------------------------------------------------------------

Hi [~xiaobingo] and [~szetszwo],

Thanks for your work here. One question, when asynchronous mode RPC mode was 
introduced, seems the rpcTimeOut is removed from synchronous mode (see here), 
did I understand it correctly? and is that intended if so?

Thanks.


was (Author: yzhangal):
Hi [~xiaobingo],

Thanks for your work here. One question, when asynchronous mode RPC mode was 
introduced, seems the rpcTimeOut is removed from synchronous mode (see here), 
did I understand it correctly? and is that intended if so?

Thanks.

> Change ipc.Client to support asynchronous calls
> -----------------------------------------------
>
>                 Key: HADOOP-12909
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12909
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: ipc
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Xiaobing Zhou
>            Priority: Major
>             Fix For: 2.8.0, 3.0.0-alpha1
>
>         Attachments: HADOOP-12909-HDFS-9924.000.patch, 
> HADOOP-12909-HDFS-9924.001.patch, HADOOP-12909-HDFS-9924.002.patch, 
> HADOOP-12909-HDFS-9924.003.patch, HADOOP-12909-HDFS-9924.004.patch, 
> HADOOP-12909-HDFS-9924.005.patch, HADOOP-12909-HDFS-9924.006.patch, 
> HADOOP-12909-HDFS-9924.007.patch, HADOOP-12909-HDFS-9924.008.patch, 
> HADOOP-12909-HDFS-9924.009.patch
>
>
> In ipc.Client, the underlying mechanism is already supporting asynchronous 
> calls -- the calls shares a connection, the call requests are sent using a 
> thread pool and the responses can be out of order.  Indeed, synchronous call 
> is implemented by invoking wait() in the caller thread in order to wait for 
> the server response.
> In this JIRA, we change ipc.Client to support asynchronous mode.  In 
> asynchronous mode, it return once the request has been sent out but not wait 
> for the response from the server.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to