is there any request limit for GeoLite2 free databases? (Hive UDF)

467 Views Asked by At

I've downloaded free geoiplite databases from link. I am going to use it in hive-geo-ip-udf.

Update:

SELECT geoip(host,'COUNTRY_CODE','/home/dhruv/GeoLite2-Country.mmdb') 
from table_name;

For 64th entry i am getting FAILED: UnsupportedOperationException null.

1

There are 1 best solutions below

0
On

There was bug in library. It throws exception in case it didn't not find any location for ip. It was fixed now by returning empty string.

https://github.com/Spuul/hive-udfs/issues/2