Load Geocoding Information

You need to reload geocoding information periodically because the context will change over time.

  1. Ensure that Metron has set the location of the GeoIP database.
    1. From Ambari, display the Metron service.
    2. Enter geo in the search field.
      Ambari displays the location under in the GEOIP Load Defaults URL field under Adapter.
  2. To reload the geocoding information into HDFS, as run the following:
    cd /usr/hcp/current/metron
    sudo su hdfs -c "bin/geo_enrichment_load.sh -z localhost:2181"
    CCP downloads the GeoLite2-City database into HDFS.