Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9728FF437 for ; Fri, 29 Mar 2013 15:39:20 +0000 (UTC) Received: (qmail 75223 invoked by uid 500); 29 Mar 2013 15:39:19 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 74934 invoked by uid 500); 29 Mar 2013 15:39:19 -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 74602 invoked by uid 500); 29 Mar 2013 15:39:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 74583 invoked by uid 99); 29 Mar 2013 15:39:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 15:39:16 +0000 Date: Fri, 29 Mar 2013 15:39:16 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4250) Closing lots of RecordWriters is slow 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/HIVE-4250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phabricator updated HIVE-4250: ------------------------------ Attachment: HIVE-4250.D9807.1.patch omalley requested code review of "HIVE-4250 [jira] Closing lots of RecordWriters is slow". Reviewers: JIRA add threadpool for close writers In FileSinkOperator, all of the RecordWriters are closed sequentially. For queries with a lot of dynamic partitions this can add substantially to the task time. For one query in particular, after processing all of the records in a few minutes the reduces spend 15 minutes closing all of the RC files. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D9807 AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java MANAGE HERALD RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/23415/ To: JIRA, omalley > Closing lots of RecordWriters is slow > ------------------------------------- > > Key: HIVE-4250 > URL: https://issues.apache.org/jira/browse/HIVE-4250 > Project: Hive > Issue Type: New Feature > Components: Serializers/Deserializers > Reporter: Owen O'Malley > Assignee: Owen O'Malley > Attachments: HIVE-4250.D9807.1.patch > > > In FileSinkOperator, all of the RecordWriters are closed sequentially. For queries with a lot of dynamic partitions this can add substantially to the task time. For one query in particular, after processing all of the records in a few minutes the reduces spend 15 minutes closing all of the RC files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira