You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2017/05/09 00:03:04 UTC
[jira] [Created] (HIVE-16611) Kryo remove field is not working
Prasanth Jayachandran created HIVE-16611:
--------------------------------------------
Summary: Kryo remove field is not working
Key: HIVE-16611
URL: https://issues.apache.org/jira/browse/HIVE-16611
Project: Hive
Issue Type: Bug
Components: Serializers/Deserializers
Affects Versions: 3.0.0
Reporter: Prasanth Jayachandran
I have seen some instances where removeField in SerializationUtilities is not working
{code}
removeField(kryo, Operator.class, "colExprMap");
removeField(kryo, AbstractOperatorDesc.class, "statistics");
{code}
These 2 fields are not expected to be serialized but some stacktraces where custom UDFs are involved these fields are observed in the stacktrace.
{code}
genericUDF (org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc)
chidren (org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc)
colExprMap (org.apache.hadoop.hive.ql.exec.SelectOperator)
childOperators (org.apache.hadoop.hive.ql.exec.TableScanOperator)
aliasToWork (org.apache.hadoop.hive.ql.plan.MapWork)
at org.apache.hive.com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:125)
...(snip)...
at org.apache.hive.com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:672)
at org.apache.hadoop.hive.ql.exec.Utilities.deserializeObjectByKryo(Utilities.java:1173)
at org.apache.hadoop.hive.ql.exec.Utilities.deserializePlan(Utilities.java:1062)
at org.apache.hadoop.hive.ql.exec.Utilities.deserializePlan(Utilities.java:1076)
{code}
This needs further investigation.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)