hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Commented] (HIVE-5405) Need to implement PersistenceDelegate for org.antlr.runtime.CommonToken
Date Wed, 02 Oct 2013 22:33:42 GMT


Thejas M Nair commented on HIVE-5405:

I think it will be a good practice to upload any final patch (after any minor rebase or other
minor pre-commit changes are made)  to the jira, so that it is clear that there is some change
that went it before commit. I don't think such minor changes need another review. 

> Need to implement PersistenceDelegate for org.antlr.runtime.CommonToken
> -----------------------------------------------------------------------
>                 Key: HIVE-5405
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: shanyu zhao
>            Assignee: shanyu zhao
>             Fix For: 0.12.0
>         Attachments: HIVE-5405-branch-0.12.patch, 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(
> ...
> Caused by: java.lang.InstantiationException: org.antlr.runtime.CommonToken
>         at java.lang.Class.newInstance0(
>         at java.lang.Class.newInstance(
>         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> 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:
> <property>
> <name>hive.plan.serialization.format</name>
> <value>javaXML</value>
> </property>
> 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

View raw message