pan3793 commented on PR #52664: URL: https://github.com/apache/spark/pull/52664#issuecomment-3422354041
I'm not sure if there are some bugs in `sbt-pom-reader`, I manually checked the output of `build/sbt dependencyTree` and ensured there is no `jackson-databin:2.20.0`, but the test fails consistently with ``` $ build/sbt -Phive "hive/testOnly org.apache.spark.sql.hive.JavaDataFrameSuite" ... [error] Caused by: java.lang.ExceptionInInitializerError: Exception com.fasterxml.jackson.databind.JsonMappingException: Scala module 2.19.2 requires Jackson Databind version >= 2.19.0 and < 2.20.0 - Found jackson-databind version 2.20.0 [in thread "pool-1-thread-1"] [error] at com.fasterxml.jackson.module.scala.JacksonModule.setupModule(JacksonModule.scala:61) [error] at com.fasterxml.jackson.module.scala.JacksonModule.setupModule$(JacksonModule.scala:46) [error] at com.fasterxml.jackson.module.scala.DefaultScalaModule.setupModule(DefaultScalaModule.scala:17) [error] at com.fasterxml.jackson.databind.ObjectMapper.registerModule(ObjectMapper.java:909) [error] at org.apache.spark.rdd.RDDOperationScope$.<clinit>(RDDOperationScope.scala:82) [error] ... 15 more [info] Test run finished: 2 failed, 0 ignored, 2 total, 4.527s [error] Failed: Total 2, Failed 2, Errors 0, Passed 0 [error] Failed tests: [error] org.apache.spark.sql.hive.JavaDataFrameSuite [error] (Test / testOnly) sbt.TestsFailedException: Tests unsuccessful [error] Total time: 42 s, completed Oct 20, 2025, 10:32:36 PM ``` I haven't figured out the root causes, instead, I tried another approach (https://github.com/apache/spark/pull/52668) to manage the Jackson deps, and it solves the issue. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
