[jira] [Commented] (NIFI-8492) IPLookupService not working since 1.8.0?

2022-02-16 Thread Joe Witt (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493410#comment-17493410
 ] 

Joe Witt commented on NIFI-8492:


ooof yeah I'm sure someone will get to this one.  Not sure how it has been able 
to be broken for so long or how we dont have a test that exposes it

> IPLookupService not working since 1.8.0?
> 
>
> Key: NIFI-8492
> URL: https://issues.apache.org/jira/browse/NIFI-8492
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.11.4, 1.13.2
>Reporter: Benjamin Charron
>Priority: Major
>  Labels: IPLookupService
>
> IPLookupService, like its cousin GeoEnrichIP, uses maxmind/DatabaseReader.java
> However, because they are in different NARs, they each have their own 
> "DatabaseReader.java
> ". GeoEnrichIP's version had a bug fixed back in 1.9.0 
> (https://issues.apache.org/jira/browse/NIFI-5814), but IPLookupService did 
> not.
> As far as I can tell, IPLookupService has also been broken since 1.8.0. We 
> get the following error with the IPLookupService in 1.11.4:
> {code}
> Caused by: java.lang.UnsupportedOperationException: null
> at java.util.Collections$UnmodifiableMap.put(Collections.java:1457)
> at 
> com.fasterxml.jackson.databind.node.ObjectNode.set(ObjectNode.java:370)
> at 
> org.apache.nifi.lookup.maxmind.DatabaseReader.get(DatabaseReader.java:158)
> at 
> org.apache.nifi.lookup.maxmind.DatabaseReader.city(DatabaseReader.java:194)
> at 
> org.apache.nifi.lookup.maxmind.IPLookupService.doLookup(IPLookupService.java:262)
> {code}
> Should the fixes in GeoEnrichIP's DatabaseReader also be copied to 
> IPLookupService's DatabaseReader?  Or is there a way for them to use the same 
> one without copying the file?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (NIFI-8492) IPLookupService not working since 1.8.0?

2022-02-16 Thread Fabian Reiber (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493263#comment-17493263
 ] 

Fabian Reiber commented on NIFI-8492:
-

I see the same error in the logs, if I enable it for the LookupRecord. Is there 
any plan when it will be fixed? Maybe in the next release 1.16.0, if there is 
already a fix in the other component. I am using Nifi 1.15.2 atm..

> IPLookupService not working since 1.8.0?
> 
>
> Key: NIFI-8492
> URL: https://issues.apache.org/jira/browse/NIFI-8492
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.11.4, 1.13.2
>Reporter: Benjamin Charron
>Priority: Major
>  Labels: IPLookupService
>
> IPLookupService, like its cousin GeoEnrichIP, uses maxmind/DatabaseReader.java
> However, because they are in different NARs, they each have their own 
> "DatabaseReader.java
> ". GeoEnrichIP's version had a bug fixed back in 1.9.0 
> (https://issues.apache.org/jira/browse/NIFI-5814), but IPLookupService did 
> not.
> As far as I can tell, IPLookupService has also been broken since 1.8.0. We 
> get the following error with the IPLookupService in 1.11.4:
> {code}
> Caused by: java.lang.UnsupportedOperationException: null
> at java.util.Collections$UnmodifiableMap.put(Collections.java:1457)
> at 
> com.fasterxml.jackson.databind.node.ObjectNode.set(ObjectNode.java:370)
> at 
> org.apache.nifi.lookup.maxmind.DatabaseReader.get(DatabaseReader.java:158)
> at 
> org.apache.nifi.lookup.maxmind.DatabaseReader.city(DatabaseReader.java:194)
> at 
> org.apache.nifi.lookup.maxmind.IPLookupService.doLookup(IPLookupService.java:262)
> {code}
> Should the fixes in GeoEnrichIP's DatabaseReader also be copied to 
> IPLookupService's DatabaseReader?  Or is there a way for them to use the same 
> one without copying the file?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (NIFI-8492) IPLookupService not working since 1.8.0?

2021-10-06 Thread Joel Berger (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17425136#comment-17425136
 ] 

Joel Berger commented on NIFI-8492:
---

Please fix this, I wasted a whole day trying to figure out why this wouldn't 
work, and to find that its a bug in nifi and one that's already been fixed 
elsewhere was a real gut-punch. If it cannot be fixed perhaps at least update 
the documentation to indicate that it is currently broken so that the next 
person doesn't spend all day trying to understand the failure like I did.

> IPLookupService not working since 1.8.0?
> 
>
> Key: NIFI-8492
> URL: https://issues.apache.org/jira/browse/NIFI-8492
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: 1.11.4, 1.13.2
>Reporter: Benjamin Charron
>Priority: Major
>  Labels: IPLookupService
>
> IPLookupService, like its cousin GeoEnrichIP, uses maxmind/DatabaseReader.java
> However, because they are in different NARs, they each have their own 
> "DatabaseReader.java
> ". GeoEnrichIP's version had a bug fixed back in 1.9.0 
> (https://issues.apache.org/jira/browse/NIFI-5814), but IPLookupService did 
> not.
> As far as I can tell, IPLookupService has also been broken since 1.8.0. We 
> get the following error with the IPLookupService in 1.11.4:
> {code}
> Caused by: java.lang.UnsupportedOperationException: null
> at java.util.Collections$UnmodifiableMap.put(Collections.java:1457)
> at 
> com.fasterxml.jackson.databind.node.ObjectNode.set(ObjectNode.java:370)
> at 
> org.apache.nifi.lookup.maxmind.DatabaseReader.get(DatabaseReader.java:158)
> at 
> org.apache.nifi.lookup.maxmind.DatabaseReader.city(DatabaseReader.java:194)
> at 
> org.apache.nifi.lookup.maxmind.IPLookupService.doLookup(IPLookupService.java:262)
> {code}
> Should the fixes in GeoEnrichIP's DatabaseReader also be copied to 
> IPLookupService's DatabaseReader?  Or is there a way for them to use the same 
> one without copying the file?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)