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

ASF GitHub Bot commented on METRON-100:
---------------------------------------

GitHub user cestella opened a pull request:

    https://github.com/apache/incubator-metron/pull/134

    METRON-100 GeoIP errors out silently in vagrant

    When we transitioned from passing the value to the adapters to passing a 
CacheKey object, we never adjusted the SQL statements.  Also, this error may 
cause downstream issues whereby messages error out because enrichments are 
short circuited if one fails and the source.type never gets properly set.
    
    The JIRA is wrong, this bug is actually present in every environment and 
prevents GeoIP enrichment from working.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cestella/incubator-metron 
enrichment_robustness

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/134.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #134
    
----
commit 6fafdcf66df4a1d1df21672f2644fd00953e75f9
Author: cstella <[email protected]>
Date:   2016-05-24T22:26:37Z

    Making the bolts and adapters slightly more robust so that failures for a 
single enrichment do not exception out and kill the topology.

commit 865cbc942ceff92e47ca83e664ae6bc9c3f3cd5a
Author: cstella <[email protected]>
Date:   2016-05-25T00:34:25Z

    Continued robustness improvements.

----


> GeoIP errors out silently in vagrant
> ------------------------------------
>
>                 Key: METRON-100
>                 URL: https://issues.apache.org/jira/browse/METRON-100
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Casey Stella
>
> GeoIP Enrichment errors out silently in vagrant.  It's unclear whether it's 
> just some data that is problematic or everything, but I see this in the logs:
> com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 
> 'ip' at row 1
>         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4224) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2188) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:2044) ~[stormjar.jar:?]
>         at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3538) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:489) 
> ~[stormjar.jar:?]
>         at 
> com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3240) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2411) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2834) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2834) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2783) 
> ~[stormjar.jar:?]
>         at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1569) 
> ~[stormjar.jar:?]
>         at 
> org.apache.metron.enrichment.adapters.geo.GeoAdapter.enrich(GeoAdapter.java:50)
>  [stormjar.jar:?]
>         at 
> org.apache.metron.enrichment.adapters.geo.GeoAdapter.enrich(GeoAdapter.java:28)
>  [stormjar.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to