Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 11155 invoked from network); 9 Mar 2011 20:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 20:47:24 -0000 Received: (qmail 77288 invoked by uid 500); 9 Mar 2011 20:47:23 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 77255 invoked by uid 500); 9 Mar 2011 20:47:23 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 77244 invoked by uid 99); 9 Mar 2011 20:47:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 20:47:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 20:47:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B3C293A182B for ; Wed, 9 Mar 2011 20:46:59 +0000 (UTC) Date: Wed, 9 Mar 2011 20:46:59 +0000 (UTC) From: "Jakob Homan (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <443853259.9105.1299703619733.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1878551188.5886.1297277337604.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (HADOOP-7133) CLONE to COMMON - HDFS-1445 Batch the calls in DataStorage to FileUtil.createHardLink(), so we call it once per directory instead of once per file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004790#comment-13004790 ] Jakob Homan commented on HADOOP-7133: ------------------------------------- Hairong: Good suggestion on the threadlocal. I'm ready to commit this as is. Would you be ok with doing that optimization in separate JIRA? > CLONE to COMMON - HDFS-1445 Batch the calls in DataStorage to FileUtil.createHardLink(), so we call it once per directory instead of once per file > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-7133 > URL: https://issues.apache.org/jira/browse/HADOOP-7133 > Project: Hadoop Common > Issue Type: Improvement > Components: util > Affects Versions: 0.20.2 > Reporter: Matt Foley > Assignee: Matt Foley > Fix For: 0.22.0 > > Attachments: HDFS-1445-trunk.v23_common_1-of-3.patch > > > The fix for HDFS-1445 "Batch the calls in DataStorage to FileUtil.createHardLink(), so we call it once per directory instead of once per file" requires coordinated change in COMMON and HDFS. This is the COMMON portion, submitted here under a separate bug to activate the automated testing. > Warning: this patch to COMMON, by itself, will break HDFS. It requires coordinated commit of the HDFS portion of the patch in HDFS-1445. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira