Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 82012 invoked from network); 25 Mar 2008 06:53:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2008 06:53:35 -0000 Received: (qmail 90636 invoked by uid 500); 25 Mar 2008 06:53:30 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 90586 invoked by uid 500); 25 Mar 2008 06:53:30 -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 90567 invoked by uid 99); 25 Mar 2008 06:53:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 23:53:30 -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, 25 Mar 2008 06:52:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 44D97234C0AC for ; Mon, 24 Mar 2008 23:51:24 -0700 (PDT) Message-ID: <960529823.1206427884280.JavaMail.jira@brutus> Date: Mon, 24 Mar 2008 23:51:24 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3071) DFSOutputStream does not close all the sockets In-Reply-To: <1601058612.1206139044443.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-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581795#action_12581795 ] dhruba borthakur commented on HADOOP-3071: ------------------------------------------ Code looks good. One question: the original code closes blockStream first and then close blockReplyStream. The new code closes blockReplyStream first. Is this on purpose? > DFSOutputStream does not close all the sockets > ---------------------------------------------- > > Key: HADOOP-3071 > URL: https://issues.apache.org/jira/browse/HADOOP-3071 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.17.0 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Attachments: HADOOP-3071.patch > > > When DFSOutputStream writes to multiple blocks, it closes only the socket opened for the last block. When it is done with writing to one block it should close the socket. > I noticed this when I was fixing HADOOP-3067. After fixing HADOOP-3067, there were still a lot of sockets open (but not enough to fail the tests). These sockets were used to write to blocks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.