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 4DAF3100D6 for ; Tue, 1 Oct 2013 18:40:53 +0000 (UTC) Received: (qmail 53164 invoked by uid 500); 1 Oct 2013 18:40:36 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 52190 invoked by uid 500); 1 Oct 2013 18:40:31 -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 51834 invoked by uid 500); 1 Oct 2013 18:40:29 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 51610 invoked by uid 99); 1 Oct 2013 18:40:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 18:40:26 +0000 Date: Tue, 1 Oct 2013 18:40:26 +0000 (UTC) From: "shanyu zhao (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5405) Need to implement PersistenceDelegate for org.antlr.runtime.CommonToken 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-5405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783205#comment-13783205 ] shanyu zhao commented on HIVE-5405: ----------------------------------- I understand that javaXML is not a preferred configuration choice. But since we are providing a configuration option instead of removing JavaXML support in HIVE-1511 we need to make sure they actually work. > Need to implement PersistenceDelegate for org.antlr.runtime.CommonToken > ----------------------------------------------------------------------- > > Key: HIVE-5405 > URL: https://issues.apache.org/jira/browse/HIVE-5405 > Project: Hive > Issue Type: Bug > Affects Versions: 0.12.0 > Reporter: shanyu zhao > Assignee: shanyu zhao > Attachments: HIVE-5405.patch > > > Prior to HIVE-1511, running hive join operation results in the following exception: > java.lang.RuntimeException: Cannot serialize object > at org.apache.hadoop.hive.ql.exec.Utilities$1.exceptionThrown(Utilities. > java:639) > at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:426) > ... > Caused by: java.lang.InstantiationException: org.antlr.runtime.CommonToken > at java.lang.Class.newInstance0(Class.java:357) > at java.lang.Class.newInstance(Class.java:325) > at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > HIVE-1511 introduced a new (and set to default) hive plan serialization format Kryo, which fixed this problem by implementing the Kryo serializer for CommonToken. However, if we set the following in configuration file: > > hive.plan.serialization.format > javaXML > > We'll see the same failure as before. We need to implement a PersistenceDelegate for the situation when "javaXML" is set to serialization format. -- This message was sent by Atlassian JIRA (v6.1#6144)