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 385A587B8 for ; Thu, 18 Aug 2011 22:26:52 +0000 (UTC) Received: (qmail 34975 invoked by uid 500); 18 Aug 2011 22:26:51 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 34918 invoked by uid 500); 18 Aug 2011 22:26:51 -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 34900 invoked by uid 500); 18 Aug 2011 22:26:50 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 34892 invoked by uid 99); 18 Aug 2011 22:26:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2011 22:26:50 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,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; Thu, 18 Aug 2011 22:26:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 43BC3C311E for ; Thu, 18 Aug 2011 22:26:27 +0000 (UTC) Date: Thu, 18 Aug 2011 22:26:27 +0000 (UTC) From: "Tim Armstrong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1430068373.50858.1313706387274.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <588940576.10375.1312513407944.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2350) Improve RCFile Read Speed 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-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087352#comment-13087352 ] Tim Armstrong commented on HIVE-2350: ------------------------------------- Hi Carl, Was this committed to trunk? I'm not seeing it there > Improve RCFile Read Speed > ------------------------- > > Key: HIVE-2350 > URL: https://issues.apache.org/jira/browse/HIVE-2350 > Project: Hive > Issue Type: Improvement > Reporter: Tim Armstrong > Assignee: Tim Armstrong > Priority: Minor > Fix For: 0.8.0 > > Attachments: rcfile-2011-08-04.diff, rcfile_opt_2011-08-05.diff, rcfile_opt_2011-08-05b.diff, rcfile_opt_2011-08-11.patch > > Original Estimate: 0h > Remaining Estimate: 0h > > By tweaking the RCFile$Reader implementation to allow more efficient memory access I was able to reduce CPU usage. I measured the speed required to scan a gzipped RCFile, decompress and assemble into records. CPU time was reduced by about 7% for a full table scan, An improvement of about 2% was realised when a smaller subset of columns (3-5 out of tens) were selected. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira