You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Kyle Richardson (JIRA)" <ji...@apache.org> on 2017/10/12 18:37:00 UTC

[jira] [Commented] (METRON-1245) Make the GeoIP DB download proxy-aware

    [ https://issues.apache.org/jira/browse/METRON-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16202427#comment-16202427 ] 

Kyle Richardson commented on METRON-1245:
-----------------------------------------

Another workaround for this is to download the file manually (e.g. using curl through a proxy) to a location on the filesystem and then specific that location in the Ambari config.

For example:
{{file:///usr/metron/$METRON_VERSION/tmp/GeoLite2-City.mmdb.gz}}


> Make the GeoIP DB download proxy-aware
> --------------------------------------
>
>                 Key: METRON-1245
>                 URL: https://issues.apache.org/jira/browse/METRON-1245
>             Project: Metron
>          Issue Type: Improvement
>    Affects Versions: 0.4.1
>            Reporter: Jon Zeolla
>
> Currently, if you try to start/install Metron Enrichment it will download the maxmind database and place it in HDFS.  However, this process is not proxy-aware.
> https://github.com/apache/metron/blob/master/metron-platform/metron-data-management/src/main/java/org/apache/metron/dataloads/nonbulk/geo/GeoEnrichmentLoader.java
> A workaround is to download the database, put it in hdfs at /apps/metron/geo/default/, change ownership to be your metron user, and then `touch /usr/metron/${METRON_VER}/config/metron_enrichment_geo_configured`.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)