You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Gary Helmling (JIRA)" <ji...@apache.org> on 2016/01/25 21:30:39 UTC

[jira] [Created] (HDFS-9700) DFSClient and DFSOutputStream do not respect TCP_NODELAY config in two spots

Gary Helmling created HDFS-9700:
-----------------------------------

             Summary: DFSClient and DFSOutputStream do not respect TCP_NODELAY config in two spots
                 Key: HDFS-9700
                 URL: https://issues.apache.org/jira/browse/HDFS-9700
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs-client
    Affects Versions: 2.6.3, 2.7.1
            Reporter: Gary Helmling


In {{DFSClient.connectToDN()}} and {{DFSOutputStream.createSocketForPipeline()}}, we never call {{setTcpNoDelay()}} on the constructed socket before sending.  In both cases, we should respect the value of ipc.client.tcpnodelay in the configuration.

While this applies whether security is enabled or not, it seems to have a bigger impact on latency when security is enabled.



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