Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 30826 invoked from network); 12 Mar 2008 02:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2008 02:32:22 -0000 Received: (qmail 75309 invoked by uid 500); 12 Mar 2008 02:32:12 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 75297 invoked by uid 500); 12 Mar 2008 02:32:12 -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 75280 invoked by uid 99); 12 Mar 2008 02:32:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 19:32:12 -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, 12 Mar 2008 02:31:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3FA92234C090 for ; Tue, 11 Mar 2008 19:30:46 -0700 (PDT) Message-ID: <2055780958.1205289046245.JavaMail.jira@brutus> Date: Tue, 11 Mar 2008 19:30:46 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3003) FileSystem cache key should be updated after a FileSystem object is created In-Reply-To: <1200851292.1205286526543.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-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HADOOP-3003: ------------------------------------------- Attachment: 3003_20080311.patch 3003_20080311.patch: should fix this problem. > FileSystem cache key should be updated after a FileSystem object is created > --------------------------------------------------------------------------- > > Key: HADOOP-3003 > URL: https://issues.apache.org/jira/browse/HADOOP-3003 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.16.2 > > Attachments: 3003_20080311.patch > > > In FileSystem.get(uri, conf), it first creates a cache key from the uri and the conf and then lookups the corresponding FileSystem object in the cache. If the object is not found, it initializes a FileSystem object and put it to the cache with the key. However, during FileSystem creation, the conf might be modified. In such case, the key should be updated before putting it to the cache. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.