You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eric Chu (JIRA)" <ji...@apache.org> on 2013/12/11 08:22:08 UTC
[jira] [Created] (HIVE-6005) BETWEEN is broken after using KRYO
Eric Chu created HIVE-6005:
------------------------------
Summary: 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
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.1.4#6159)