Spuul / hive-udfs

Collection of Hive UDFs
5 stars 11 forks source link

Fix UDF build issues that affect Hive 2.x releases #4

Closed npetevn closed 5 years ago

npetevn commented 5 years ago

For some unknown reason Hive add their own obsolete version of the maxmind geoip db jar in the classpath. That causes classpath conflicts and breaks the UDF completely - addressed this with Maven shading. Also, to optimise performance a bit, we reuse the DatabaseReader object - initialization with GeoIP v2 databases adds significant overhead.