hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dere <jd...@hortonworks.com>
Subject Re: Hive : plan serialization format option
Date Tue, 05 May 2015 18:06:57 GMT
Looks like you are running into https://issues.apache.org/jira/browse/HIVE-8321, fixed in Hive-0.14.
You might be stuck having to use Kryo, what are the issues you are having with Kryo?


Thanks,
Jason

On May 5, 2015, at 4:28 AM, Bhagwan S. Soni <bhgwnssoni75@gmail.com<mailto:bhgwnssoni75@gmail.com>>
wrote:


Bottom on the log:

        at java.beans.Encoder.writeObject(Encoder.java:74)

        at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327)

        at java.beans.Encoder.writeExpression(Encoder.java:330)

        at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:454)

        at java.beans.DefaultPersistenceDelegate.doProperty(DefaultPersistenceDelegate.java:194)

        at java.beans.DefaultPersistenceDelegate.initBean(DefaultPersistenceDelegate.java:256)

        ... 98 more

Caused by: java.lang.NullPointerException

        at java.lang.StringBuilder.<init>(StringBuilder.java:109)

        at org.apache.hadoop.hive.serde2.typeinfo.BaseCharTypeInfo.getQualifiedName(BaseCharTypeInfo.java:49)

        at org.apache.hadoop.hive.serde2.typeinfo.BaseCharTypeInfo.getQualifiedName(BaseCharTypeInfo.java:45)

        at org.apache.hadoop.hive.serde2.typeinfo.VarcharTypeInfo.getTypeName(VarcharTypeInfo.java:37)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)

        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)

        at java.beans.Statement.invokeInternal(Statement.java:292)

        at java.beans.Statement.access$000(Statement.java:58)

        at java.beans.Statement$2.run(Statement.java:185)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.beans.Statement.invoke(Statement.java:182)

        at java.beans.Expression.getValue(Expression.java:153)

        at java.beans.DefaultPersistenceDelegate.doProperty(DefaultPersistenceDelegate.java:193)

        at java.beans.DefaultPersistenceDelegate.initBean(DefaultPersistenceDelegate.java:256)

        ... 111 more

Job Submission failed with exception 'java.lang.RuntimeException(java.lang.RuntimeException:
Cannot serialize object)'

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

On Tue, May 5, 2015 at 3:10 PM, Jason Dere <jdere@hortonworks.com<mailto:jdere@hortonworks.com>>
wrote:
kryo/javaXML are the only available options. What are the errors you see with each setting?


On May 1, 2015, at 9:41 AM, Bhagwan S. Soni <bhgwnssoni75@gmail.com<mailto:bhgwnssoni75@gmail.com>>
wrote:

Hi Hive Users,

I'm using cloudera's hive 0.13 version which by default provide Kryo  plan serialization format.
<property>
<name>hive.plan.serialization.format</name>
<value>kryo</value>
</property>

As i'm facing issues with Kryo, can anyone help me identify the other open options in place
of Kryo for hive plan serialization format.

I know one option javaXML, but in my case it is not working.








Mime
View raw message