Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DB0E5200B3C for ; Mon, 27 Jun 2016 19:37:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D9A98160A54; Mon, 27 Jun 2016 17:37:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2C590160A5B for ; Mon, 27 Jun 2016 19:37:53 +0200 (CEST) Received: (qmail 74824 invoked by uid 500); 27 Jun 2016 17:37:52 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 74646 invoked by uid 99); 27 Jun 2016 17:37:52 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 17:37:52 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0F9092C1F64 for ; Mon, 27 Jun 2016 17:37:52 +0000 (UTC) Date: Mon, 27 Jun 2016 17:37:52 +0000 (UTC) From: "Gary Helmling (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-9805) TCP_NODELAY not set before SASL handshake in data transfer pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Jun 2016 17:37:54 -0000 [ 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.004.patch Updated patch adding: * a new configuration property (dfs.data.transfer.server.tcpnodelay), defaulting to true, controlling the TCP_NODELAY setting in the DN -> DN transfer path * a test case check the TCP_NODELAY was enabled on all used sockets when the relevant config settings are enabled Note that I had to modify {{DataNode#newSocket()}} in this patch in order to support the test case. Prior to this, {{newSocket()}} was not using the configured socket factory, instead creating sockets directly. This seems like a change we would want anyway, just calling in out. > 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.002.patch, HDFS-9805.003.patch, HDFS-9805.004.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) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org