Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 66308 invoked from network); 25 Jun 2008 09:17:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 09:17:37 -0000 Received: (qmail 12761 invoked by uid 500); 25 Jun 2008 09:17:37 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 12729 invoked by uid 500); 25 Jun 2008 09:17:37 -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 12718 invoked by uid 99); 25 Jun 2008 09:17:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 02:17:37 -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; Wed, 25 Jun 2008 09:16:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 00CB9234C149 for ; Wed, 25 Jun 2008 02:16:45 -0700 (PDT) Message-ID: <496779759.1214385405002.JavaMail.jira@brutus> Date: Wed, 25 Jun 2008 02:16:45 -0700 (PDT) From: "Benjamin Gufler (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3639) Exception when closing DFSClient while multiple files are open In-Reply-To: <1811366944.1214385285114.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-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Gufler updated HADOOP-3639: ------------------------------------ Release Note: Fixes HADOOP-3639 Status: Patch Available (was: Open) Replaces the iterator with direct access to the map of open files. Since closing a file removes it from the map, there is no need to clear the map at the end. > Exception when closing DFSClient while multiple files are open > -------------------------------------------------------------- > > Key: HADOOP-3639 > URL: https://issues.apache.org/jira/browse/HADOOP-3639 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.17.0, 0.18.0 > Reporter: Benjamin Gufler > Attachments: patch-dfs-close > > Original Estimate: 1h > Remaining Estimate: 1h > > DFSClient.close uses an iterator for closing files which are still open. Closing a file removes that file from the list of open files, which in turn breaks the iterator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.