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 C11A9D6F8 for ; Thu, 27 Sep 2012 20:39:10 +0000 (UTC) Received: (qmail 33192 invoked by uid 500); 27 Sep 2012 20:39:09 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 33146 invoked by uid 500); 27 Sep 2012 20:39:09 -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 32941 invoked by uid 99); 27 Sep 2012 20:39:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 20:39:09 +0000 Date: Fri, 28 Sep 2012 07:39:09 +1100 (NCT) From: "John George (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <244790867.135624.1348778349717.JavaMail.jiratomcat@arcas> In-Reply-To: <1652682631.28284.1336156849217.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (HDFS-3373) FileContext HDFS implementation can leak socket caches 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-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John George reopened HDFS-3373: ------------------------------- Reopening for branch 23 > FileContext HDFS implementation can leak socket caches > ------------------------------------------------------ > > Key: HDFS-3373 > URL: https://issues.apache.org/jira/browse/HDFS-3373 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs client > Affects Versions: 0.23.3, 2.0.0-alpha, 3.0.0 > Reporter: Todd Lipcon > Assignee: John George > Fix For: 2.0.3-alpha > > Attachments: HDFS-3373.branch-23.patch, HDFS-3373.branch23.patch, HDFS-3373.trunk.patch, HDFS-3373.trunk.patch.1, HDFS-3373.trunk.patch.2, HDFS-3373.trunk.patch.3, HDFS-3373.trunk.patch.3, HDFS-3373.trunk.patch.4 > > > As noted by Nicholas in HDFS-3359, FileContext doesn't have a close() method, and thus never calls DFSClient.close(). This means that, until finalizers run, DFSClient will hold on to its SocketCache object and potentially have a lot of outstanding sockets/fds held on to. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira