cxzl25 commented on PR #2544: URL: https://github.com/apache/celeborn/pull/2544#issuecomment-2349065779
> spark profile compilation has error commons-lang3 3.13.0 is compiled using JDK8, 3.14.0-3.16.0 is compiled using JDK21, 3.17.0 is compiled using JDK17 Because JDK21 is used for compilation, there will be more `MethodParameters` in the class file, which triggers a bug in the lower version of scala. `https://github.com/scala/bug/issues/12783` ```bash javap -v Pair ``` <img width="622" alt="image" src="https://github.com/user-attachments/assets/66a6eef9-c0ae-4e31-8d13-a2e2b4dc1d5f"> scala 2.12.18 Fix ```bash mvn package -am -pl worker -DskipTests -Pspark-3.4 -Dcommons-lang3.version=3.14.0 -Dscala.version=2.12.18 ``` https://lists.apache.org/thread/5ysptqcqxzp4l500qlxmhp92t3d5881k https://lists.apache.org/thread/jw6fbm1mc67jn94zhd8g8f9hdws8l5j0 https://lists.apache.org/thread/odv5w41h06t0gdcl7spq087hl441df3c -- 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]
