Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 00CBE11A9A for ; Wed, 3 Sep 2014 23:00:56 +0000 (UTC) Received: (qmail 6986 invoked by uid 500); 3 Sep 2014 23:00:55 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 6934 invoked by uid 500); 3 Sep 2014 23:00:55 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 6922 invoked by uid 99); 3 Sep 2014 23:00:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2014 23:00:55 +0000 Date: Wed, 3 Sep 2014 23:00:55 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-4807) DFSOutputStream.createSocketForPipeline() should not include timeout extension on connect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HDFS-4807: ----------------------------------- Fix Version/s: (was: 3.0.0) > DFSOutputStream.createSocketForPipeline() should not include timeout extension on connect > ----------------------------------------------------------------------------------------- > > Key: HDFS-4807 > URL: https://issues.apache.org/jira/browse/HDFS-4807 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 3.0.0, 2.1.0-beta, 0.23.8 > Reporter: Kihwal Lee > Assignee: Cristina L. Abad > Fix For: 2.1.0-beta, 0.23.8 > > Attachments: 4807.branch-0.23.patch, 4807.branch-0.23.v2.patch, 4807.branch-2.patch, 4807.branch-2.v2.patch, 4807.trunk.patch, 4807.trunk.v2.patch > > > In createSocketForPipeline(), connect() is called with a timeout set to (socket_timeout + read_extension * num_datanodes). Since it is simply connecting to a single node, it does not make sense to increase connection timeout based on the number of datanodes. > DFSInputStream is doing it correctly both in trunk and branch-2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)