hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-16611) Kryo remove field is not working
Date Tue, 09 May 2017 00:03:04 GMT
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)

Mime
View raw message