NickBondarenko / hive-json-serde

Automatically exported from code.google.com/p/hive-json-serde
0 stars 0 forks source link

Upgrade to work with Hive 0.10.0 [PATCH] #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use this serde with Hive 0.10.0

What is the expected output? What do you see instead?
I'd like it to work, but naturally it doesn't since Hive APIs have changed 
slightly for 0.10.0.

What version of the product are you using? On what operating system?
Hive 0.10.0

I've attached a simple patch that allows me to use this serde in 0.10.0.

Sorry, I'm a git person so the patch came from git. But the diff is simple 
enough to be applied manually if necessary. The API differences are largely 
cosmetic and the new method added is a no-op since implementation of that 
method is optional (and ignored even for some of the native Hive serdes 
themselves).

Note, this patch omits the upgrading of the lib/*.jar files. I upgraded the 
following jar files (note I'm a Cloudera user, so I'm using CDH 4.2.0 jars):

* lib/hadoop-0.20.1-core.jar -> lib/hadoop-common-2.0.0-cdh4.2.0.jar
* lib/hive_serde.jar -> lib/hive-serde-0.10.0-cdh4.2.0.jar

Original issue reported on code.google.com by calebjo...@gmail.com on 3 May 2013 at 9:05

Attachments: