Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 73871 invoked from network); 16 Dec 2010 00:51:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 00:51:27 -0000 Received: (qmail 91139 invoked by uid 500); 16 Dec 2010 00:51:27 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 91108 invoked by uid 500); 16 Dec 2010 00:51:27 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 91100 invoked by uid 500); 16 Dec 2010 00:51:27 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 91097 invoked by uid 99); 16 Dec 2010 00:51:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 00:51:27 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 00:51:25 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBG0p3uQ024598 for ; Thu, 16 Dec 2010 00:51:03 GMT Message-ID: <29856531.149311292460663505.JavaMail.jira@thor> Date: Wed, 15 Dec 2010 19:51:03 -0500 (EST) From: "Hairong Kuang (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1852) Reduce unnecessary DFSClient.rename() calls In-Reply-To: <6663913.145761292448841012.JavaMail.jira@thor> 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/HIVE-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971908#action_12971908 ] Hairong Kuang commented on HIVE-1852: ------------------------------------- Joydeep is right. I did not realize that you try to merge multiple source directories into one. > Reduce unnecessary DFSClient.rename() calls > ------------------------------------------- > > Key: HIVE-1852 > URL: https://issues.apache.org/jira/browse/HIVE-1852 > Project: Hive > Issue Type: Improvement > Reporter: Ning Zhang > Assignee: Ning Zhang > Attachments: HIVE-1852.patch > > > In Hive client side (MoveTask etc), DFSCleint.rename() is called for every file inside a directory. It is very expensive for a large directory in a busy DFS namenode. We should replace it with a single rename() call on the whole directory. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.