Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 90160 invoked from network); 4 May 2010 04:09:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 04:09:18 -0000 Received: (qmail 72937 invoked by uid 500); 4 May 2010 04:09:17 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 72700 invoked by uid 500); 4 May 2010 04:09:17 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 72683 invoked by uid 99); 4 May 2010 04:09:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 04:09:16 +0000 X-ASF-Spam-Status: No, hits=-1383.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 04:09:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4448t67005768 for ; Tue, 4 May 2010 04:08:55 GMT Message-ID: <14191029.29391272946135691.JavaMail.jira@thor> Date: Tue, 4 May 2010 00:08:55 -0400 (EDT) From: "Zheng Shao (JIRA)" To: hdfs-dev@hadoop.apache.org Subject: [jira] Created: (HDFS-1127) Improve the speed of FileSystem object creation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Improve the speed of FileSystem object creation ----------------------------------------------- Key: HDFS-1127 URL: https://issues.apache.org/jira/browse/HDFS-1127 Project: Hadoop HDFS Issue Type: Improvement Affects Versions: 0.20.2, 0.20.1 Reporter: Zheng Shao Assignee: Zheng Shao It takes a long time to create a lot of {{DistributedFileSystem}} object via {{FileSystem.create}} or {{FileSystem.createNewInstance}} function. In our experience with scribe-hdfs, it can take up to 2 minutes for 100 such calls from each node of a cluster of 40 nodes. The reason for the delay is mainly because of the lock on the CACHE object. We should release the lock while creating new FileSystem objects. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.