Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 86098 invoked from network); 18 Feb 2008 21:47:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2008 21:47:05 -0000 Received: (qmail 27947 invoked by uid 500); 18 Feb 2008 21:46:58 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 27910 invoked by uid 500); 18 Feb 2008 21:46:58 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 27901 invoked by uid 99); 18 Feb 2008 21:46:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 13:46:58 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 21:46:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A6B7B234C042 for ; Mon, 18 Feb 2008 13:46:34 -0800 (PST) Message-ID: <129903047.1203371194677.JavaMail.jira@brutus> Date: Mon, 18 Feb 2008 13:46:34 -0800 (PST) From: "Raghu Angadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2346) DataNode should have timeout on socket writes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raghu Angadi updated HADOOP-2346: --------------------------------- Attachment: HADOOP-2346.patch minor changes : mostly JavaDoc fixes. > DataNode should have timeout on socket writes. > ---------------------------------------------- > > Key: HADOOP-2346 > URL: https://issues.apache.org/jira/browse/HADOOP-2346 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.15.1 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Fix For: 0.17.0 > > Attachments: HADOOP-2346.patch, HADOOP-2346.patch, HADOOP-2346.patch, HADOOP-2346.patch, HADOOP-2346.patch, HADOOP-2346.patch, HADOOP-2346.patch > > > If a client opens a file and stops reading in the middle, DataNode thread writing the data could be stuck forever. For DataNode sockets we set read timeout but not write timeout. I think we should add a write(data, timeout) method in IOUtils that assumes it the underlying FileChannel is non-blocking. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.