[
https://issues.apache.org/jira/browse/HADOOP-10667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044898#comment-14044898
]
Colin Patrick McCabe commented on HADOOP-10667:
-----------------------------------------------
bq. What is 'conns_created' for? Future logging purposes? Analytics?
I was going to add that to the connection name, so that multiple connections to
the same node could be disambiguated when debugging. Let me add that.
bq. I noticed that proxies give 'calls' 'socketaddr_in' structs. The proxy
struct seems to be allocated on the stack in several places. ie in ndfc.c.
Seems a bit dangerous unless we know for sure call structs will be deallocated
before proxies?
The call is allocated inside the proxy, so it will last for as long as the
proxy.
> implement TCP connection reuse for native client
> ------------------------------------------------
>
> Key: HADOOP-10667
> URL: https://issues.apache.org/jira/browse/HADOOP-10667
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: native
> Affects Versions: HADOOP-10388
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HADOOP-10667-pnative.001.patch,
> HADOOP-10667-pnative.002.patch, HADOOP-10667-pnative.003.patch
>
>
> The HDFS / YARN native clients should re-use TCP connections to avoid the
> overhead of the three-way handshake, similar to how the Java code does.
--
This message was sent by Atlassian JIRA
(v6.2#6252)