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 2183010774 for ; Mon, 27 Jan 2014 21:55:50 +0000 (UTC) Received: (qmail 23548 invoked by uid 500); 27 Jan 2014 21:55:40 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 23406 invoked by uid 500); 27 Jan 2014 21:55:38 -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 23386 invoked by uid 500); 27 Jan 2014 21:55:38 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 23380 invoked by uid 99); 27 Jan 2014 21:55:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jan 2014 21:55:38 +0000 Date: Mon, 27 Jan 2014 21:55:38 +0000 (UTC) From: "Vikram Dixit K (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6262) Remove unnecessary copies of schema + table desc from serialized plan 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-6262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883389#comment-13883389 ] Vikram Dixit K commented on HIVE-6262: -------------------------------------- This is really good in terms of memory efficiency. LGTM +1. > Remove unnecessary copies of schema + table desc from serialized plan > --------------------------------------------------------------------- > > Key: HIVE-6262 > URL: https://issues.apache.org/jira/browse/HIVE-6262 > Project: Hive > Issue Type: Bug > Reporter: Gunther Hagleitner > Assignee: Gunther Hagleitner > Attachments: HIVE-6262.1.patch > > > Currently for a partitioned table the following are true: > - for each partitiondesc we send a copy of the corresponding tabledesc > - for each partitiondesc we send two copies of the schema (in different formats). > Obviously we need to send different schemas if they are required by schema evolution, but in our case we'll always end up with multiple copies. > The effect can be dramatic. The reductions by removing those on partitioned tables easily be can be 8-10x in size. Plans themselves can be 10s to 100s of mb (even with kryo). The size difference also plays out in every task on the cluster we run. -- This message was sent by Atlassian JIRA (v6.1.5#6160)