[
https://issues.apache.org/jira/browse/TAJO-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108087#comment-15108087
]
ASF GitHub Bot commented on TAJO-2060:
--------------------------------------
Github user jinossy commented on a diff in the pull request:
https://github.com/apache/tajo/pull/946#discussion_r50218535
--- Diff: tajo-core/pom.xml ---
@@ -262,9 +262,9 @@
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
- <groupId>org.dspace.dependencies</groupId>
- <artifactId>dspace-geoip</artifactId>
- <version>1.2.3</version>
+ <groupId>com.maxmind.geoip</groupId>
+ <artifactId>geoip-api</artifactId>
+ <version>1.2.14</version>
--- End diff --
Could you change to latest version? and this dependency scope should be
changed to “provided”.
> Upgrade geoip-api-java library
> ------------------------------
>
> Key: TAJO-2060
> URL: https://issues.apache.org/jira/browse/TAJO-2060
> Project: Tajo
> Issue Type: Improvement
> Components: Function/UDF
> Affects Versions: 0.11.1
> Reporter: Byunghwa Yun
> Assignee: Byunghwa Yun
> Priority: Critical
> Fix For: 0.12.0, 0.11.1
>
>
> Tajo use the dspace-geoip library, version is 1.2.3.
> Now geoip data doesn't work at 1.2.3 version.
> We need change 1.2.14 from 1.2.3 version.
> Below related exception.
> java.lang.ArrayIndexOutOfBoundsException: 254
> at com.maxmind.geoip.LookupService.getCountry(LookupService.java:436)
> at com.maxmind.geoip.LookupService.getCountry(LookupService.java:408)
> at org.apache.tajo.util.GeoIPUtil.getCountryCode(GeoIPUtil.java:44)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)