Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 69992 invoked from network); 27 Mar 2008 05:11:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 05:11:35 -0000 Received: (qmail 6211 invoked by uid 500); 27 Mar 2008 05:11:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 6178 invoked by uid 500); 27 Mar 2008 05:11:33 -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 6158 invoked by uid 99); 27 Mar 2008 05:11:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 22:11:33 -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; Thu, 27 Mar 2008 05:11:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 71269234C0A8 for ; Wed, 26 Mar 2008 22:09:24 -0700 (PDT) Message-ID: <528561609.1206594564462.JavaMail.jira@brutus> Date: Wed, 26 Mar 2008 22:09:24 -0700 (PDT) From: "Raghu Angadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3073) SocketOutputStream.close() should close the channel. In-Reply-To: <1913350292.1206147925144.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-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582518#action_12582518 ] Raghu Angadi commented on HADOOP-3073: -------------------------------------- I just committed this. - Only way I can think of avoiding findbugs warning is to write a FilterSocket class. > SocketOutputStream.close() should close the channel. > ---------------------------------------------------- > > Key: HADOOP-3073 > URL: https://issues.apache.org/jira/browse/HADOOP-3073 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.17.0 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Priority: Blocker > Fix For: 0.17.0 > > Attachments: HADOOP-3073.patch > > > When the stream returned by Socket.getOutputStream() is closed, it closes the socket too. So hadoop.SocketOutputStream and hadoop.SocketInputStream should do the same. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.