Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 9361 invoked from network); 18 Mar 2008 15:39:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 15:39:23 -0000 Received: (qmail 62669 invoked by uid 500); 18 Mar 2008 15:39:15 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 62619 invoked by uid 500); 18 Mar 2008 15:39:14 -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 62602 invoked by uid 99); 18 Mar 2008 15:39:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 08:39:14 -0700 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; Tue, 18 Mar 2008 15:38:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A8918234C0AE for ; Tue, 18 Mar 2008 08:37:25 -0700 (PDT) Message-ID: <1967443017.1205854645689.JavaMail.jira@brutus> Date: Tue, 18 Mar 2008 08:37:25 -0700 (PDT) From: "Hudson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3008) SocketIOWithTimeout does not handle thread interruption In-Reply-To: <981535218.1205367226263.JavaMail.jira@brutus> 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-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579893#action_12579893 ] Hudson commented on HADOOP-3008: -------------------------------- Integrated in Hadoop-trunk #432 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/432/]) > SocketIOWithTimeout does not handle thread interruption > ------------------------------------------------------- > > Key: HADOOP-3008 > URL: https://issues.apache.org/jira/browse/HADOOP-3008 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.17.0 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Fix For: 0.17.0 > > Attachments: HADOOP-3008.patch, HADOOP-3008.patch, HADOOP-3008.patch, HADOOP-3008.patch > > > If a thread is waiting in {{SocketIOWithTimeout.select()}} for IO and is interrupted by another thread, select() returns zero. But current implementation does not check if the thread is interrupted and goes back to waiting. But it should check if the thread is interrupted. > In this case, I am thinking of throwing {{InterruptedIOException}} http://java.sun.com/j2se/1.5.0/docs/api/java/io/InterruptedIOException.html. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.