hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10389) Native RPCv9 client
Date Thu, 15 May 2014 03:05:37 GMT

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

Binglin Chang commented on HADOOP-10389:
----------------------------------------

I think TestRPC.testSlowRpc should only use one socket based on socket reuse logic, so the
responses also go through one socket. The test basically do the following:
client call (id=0) -> server
client call (id=1) -> server
server response(id = 1) -> client
client call (id=2) -> server
server response(id = 2) -> client
server response(id = 0) -> client
So client should recognize callid in response handling logic, otherwise the response is mismatched(it
will return response 1 for call 0)
bq. But last time I investigated it, each TCP socket could only do one request at once.
Do you mean the current native code? or java code? 



> Native RPCv9 client
> -------------------
>
>                 Key: HADOOP-10389
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10389
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: HADOOP-10388
>            Reporter: Binglin Chang
>            Assignee: Colin Patrick McCabe
>         Attachments: HADOOP-10388.001.patch, HADOOP-10389.002.patch, HADOOP-10389.004.patch,
HADOOP-10389.005.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message