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 6CDA2178A9 for ; Sat, 4 Oct 2014 00:41:34 +0000 (UTC) Received: (qmail 48892 invoked by uid 500); 4 Oct 2014 00:41:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 48805 invoked by uid 500); 4 Oct 2014 00:41:34 -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 48784 invoked by uid 500); 4 Oct 2014 00:41:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 48781 invoked by uid 99); 4 Oct 2014 00:41:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2014 00:41:33 +0000 Date: Sat, 4 Oct 2014 00:41:33 +0000 (UTC) From: "Mariappan Asokan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8347) Use base-64 encoding instead of custom encoding for serialized objects 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-8347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariappan Asokan updated HIVE-8347: ----------------------------------- Attachment: HIVE-8347.patch Attached a patch > Use base-64 encoding instead of custom encoding for serialized objects > ---------------------------------------------------------------------- > > Key: HIVE-8347 > URL: https://issues.apache.org/jira/browse/HIVE-8347 > Project: Hive > Issue Type: Improvement > Components: HCatalog > Affects Versions: 0.13.1 > Reporter: Mariappan Asokan > Attachments: HIVE-8347.patch > > > Serialized objects that are shipped via Hadoop {{Configuration}} are encoded using custom encoding (see {{HCatUtil.encodeBytes()}} and its complement {{HCatUtil.decodeBytes()}}) which has 100% overhead. In other words, each byte in the serialized object becomes 2 bytes after encoding. Perhaps, this might be one of the reasons for the problem reported in HIVE-453. The patch for HIVE-453 compressed serialized {{InputJobInfo}} objects to solve the problem. > By using Base64 encoding, the overhead will be reduced to about 33%. This will alleviate the problem for all serialized objects. -- This message was sent by Atlassian JIRA (v6.3.4#6332)