hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6005) BETWEEN is broken after using KRYO
Date Sun, 23 Mar 2014 17:41:42 GMT

     [ https://issues.apache.org/jira/browse/HIVE-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashutosh Chauhan updated HIVE-6005:
-----------------------------------

    Fix Version/s: 0.13.0

> BETWEEN is broken after using KRYO
> ----------------------------------
>
>                 Key: HIVE-6005
>                 URL: https://issues.apache.org/jira/browse/HIVE-6005
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Eric Chu
>             Fix For: 0.13.0
>
>
> After taking in HIVE-1511, HIVE-5422, and HIVE-5257 on top of Hive 0.12 to use Kryo,
queries with BETWEEN start to fail with the following exception:
> com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor):
org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableConstantBooleanObjectInspector
> Serialization trace:
> argumentOIs (org.apache.hadoop.hive.ql.udf.generic.GenericUDFBetween)
> genericUDF (org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc)
> filters (org.apache.hadoop.hive.ql.plan.JoinDesc)
> conf (org.apache.hadoop.hive.ql.exec.JoinOperator)
> reducer (org.apache.hadoop.hive.ql.plan.ReduceWork)
> 	at com.esotericsoftware.kryo.Kryo.newInstantiator(Kryo.java:1097)
> 	at com.esotericsoftware.kryo.Kryo.newInstance(Kryo.java:1109)
> 	at com.esotericsoftware.kryo.serializers.FieldSerializer.create(FieldSerializer.java:526)
> ...
> A workaround is to replace BETWEEN with >= and <=, but I think this failure is
a bug and not by design. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message