-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spark Enrich: downgrade geoip2 to 2.5.0 #3702
Comments
We can't use 2.9.3 because there was no release for jackson-module-scala. |
|
Hi @BenFradet @asgergb, as this issue is not fixed yet. Is there any work around? Downgrade geoip2 to 2.5.0 or shading the jar will not help on this. Could you help to advise? Thanks 18/05/03 03:55:27 WARN KafkaUtils: overriding receive.buffer.bytes to 65536 see KAFKA-3135 |
Hey @weipe007 , how are you building Spark Enrich because it depends on geoip2 0.5.0 which in turns depends on jackson-databind 2.6.4. Spark, depends on jackson-databind 2.6.7 which is binary compatible with 2.6.4. |
Thanks @BenFradet ! Do you have any hard version requirement in snowplow scala-maxmind-lookups 0.4? I kept on seeing it need jackson 2.9.3 when run the unit test. My build.sbt(0.13) is like this: ========================================== resolvers += "SnowPlow Repo" at "http://maven.snplow.com/releases/" |
It transitively gets 2.9.3 but can be overriden, that's what we do in spark-enrich and it works fine. I would advise comparing what gets into your assembly and from where by running sbt-dependency-graph. |
Thanks @BenFradet! After checking using sbt-dependency-graph, I was able to get it work. Just adding below to build.sbt is fine for me. dependencyOverrides += "com.fasterxml.jackson.core" % "jackson-core" % "2.6.7" |
sister ticket to #3701, this time it's Spark which uses 2.6.7
The text was updated successfully, but these errors were encountered: