Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 34192 invoked from network); 4 May 2010 21:15:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 21:15:30 -0000 Received: (qmail 85552 invoked by uid 500); 4 May 2010 21:15:29 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 85524 invoked by uid 500); 4 May 2010 21:15:29 -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 85516 invoked by uid 99); 4 May 2010 21:15:29 -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 21:15:29 +0000 X-ASF-Spam-Status: No, hits=-1387.4 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 21:15:28 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o44LF8kb016262 for ; Tue, 4 May 2010 21:15:08 GMT Message-ID: <19445573.1291273007708354.JavaMail.jira@thor> Date: Tue, 4 May 2010 17:15:08 -0400 (EDT) From: "Hadoop QA (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1127) Improve the speed of FileSystem object creation In-Reply-To: <21899511.29401272946136237.JavaMail.jira@thor> 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-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864001#action_12864001 ] Hadoop QA commented on HDFS-1127: --------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12443619/HDFS-1127.1.patch against trunk revision 939918. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/342/console This message is automatically generated. > 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.1, 0.20.2 > Reporter: Zheng Shao > Assignee: Zheng Shao > Attachments: HDFS-1127.1.patch > > > 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.