Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

kyro serialization exception hive 0.13 CDH 5.2.1

kyro serialization exception hive 0.13 CDH 5.2.1

New Contributor

Hello,

We are sporadically receiving these serialization errors when creating tables in Hive version 0.13 in CDH 5.2.1.  

"Error: java.lang.RuntimeException: org.apache.hive.com/esotericsoftware.kryo.KryoExce​ption: Encountered unregistered class ID: 380"

‘ exception 'java.lang.RuntimeException(java.lang.RuntimeExcep​tion: Cannot serialize object)'

 

The ID of the unregistered class changes from run to run, but the exception is consistent.

 

We have attempted two changes to resolve this problem.

  1. Setting the value of the property hive.plan.serilaization.format to javaXML in the hive-site.xml file.
  2. Setting that value to kryo.

In the first case, failure was consistent and immediate.   Every create table statement failed immediately.     In the second case, the failures are still occurring, but not on a consistent basis.

 

Can anyone suggest a solution to this problem?     Thank you in advance,

Jim