shardulm94 commented on pull request #1648:
URL: https://github.com/apache/iceberg/pull/1648#issuecomment-759135813
@Fokko I see the Spark tests are failing with this error
```
java.lang.ExceptionInInitializerError
Caused by:
com.fasterxml.jackson.databind.JsonMappingException: Scala module
2.10.2 requires Jackson Databind version >= 2.10.0 and < 2.11.0
```
This happens because Jackson expects `com.fasterxml.jackson.core` versions
to match `com.fasterxml.jackson.module` and that doesn't seem to be the case
here. I ran a gradle build scan and seems like `jackson-databind` version is
being upgraded to 2.11 [because of Avro
1.10.0](https://issues.apache.org/jira/browse/AVRO-2853) which is causing this
issue.
[Gradle build scan
link](https://scans.gradle.com/s/77u6s7hbyyqak/dependencies?configurationFilter=WyJ0ZXN0UnVudGltZUNsYXNzcGF0aCJd&dependencies=jackson&expandAll&focusedDependency=WzIxLDcsNzUsWzAsMCxbNl1dXQ&focusedDependencyView=versions&projectFilter=WyI6aWNlYmVyZy1zcGFyazMiXQ)
I think we may need to bump Iceberg's jackson version in
[`version.props`](https://github.com/apache/iceberg/blob/01fca3d0a3c5653fe5a4a2a88c29aeaffca33f1d/versions.props#L14)
and in
[`build.gradle`](https://github.com/apache/iceberg/blob/01fca3d0a3c5653fe5a4a2a88c29aeaffca33f1d/build.gradle#L97)
@rdblue I am not a 100% sure if this is the right thing to do. I know Spark
can be finicky about the Jackson version. Do you have any insights here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]