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
.