[
https://issues.apache.org/jira/browse/HDFS-9805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Helmling updated HDFS-9805:
--------------------------------
Attachment: HDFS-9805.001.patch
Attaching a very simple patch for trunk, which always sets TCP_NODELAY for
these paths, following what is done in {{DFSUtilClient::peerFromSocket()}}.
Alternately, since HDFS-9700 added a new config option
{{dfs.data.transfer.client.tcpnodelay}} (defaulting to true), we could do
something similar here and introduce a new config option (ie.
{{dfs.data.transfer.tcpnodelay}}) for these cases.
> TCP_NODELAY not set before SASL handshake in data transfer pipeline
> -------------------------------------------------------------------
>
> Key: HDFS-9805
> URL: https://issues.apache.org/jira/browse/HDFS-9805
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Reporter: Gary Helmling
> Assignee: Gary Helmling
> Attachments: HDFS-9805.001.patch
>
>
> There are a few places in the DN -> DN block transfer pipeline where
> TCP_NODELAY is not set before doing a SASL handshake:
> * in {{DataNode.DataTransfer::run()}}
> * in {{DataXceiver::replaceBlock()}}
> * in {{DataXceiver::writeBlock()}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)