lucidworks / hive-solr

Code to index Hive tables to Solr and Solr indexes to Hive
Apache License 2.0
47 stars 34 forks source link

Dependency conflict with newer Hive versions/Serde 2.3 #43

Open edersonm opened 6 years ago

edersonm commented 6 years ago

Hey Guys this is a problem and a correction.

Just faced an issue regarding newer versions of Hive/Serde(Specially on AWS EMR).

org.apache.hadoop.hive.serde2.SerDe Interface is now deprecated and is no longer present in hive-serde jar (As of version 2.3). The fix is easy, just a matter of changing org.apache.hadoop.hive.serde2.SerDe to org.apache.hadoop.hive.serde2.AbstractSerDe on imports of FusionStorageHandler.java and LWStorageHandler.java. And to extend it on LWSerDe.java

Then recompile.

ctargett commented 6 years ago

Hive 2 is not expected to be supported until sometime this Summer.