pan3793 commented on PR #51174: URL: https://github.com/apache/spark/pull/51174#issuecomment-2969881985
> But will modifying just this part address Cause 2 ... >> Tolerant cases ... "address"/"tolerant" might not be accurate, I change the word to "mitigate". Currently, Spark only supports Java 17 and 21, so only a few places have Java version check. Before Spark drops support prior Java 17, there are many places in the Spark code that check Java version using `commons-lang3`, and Case 2 is a relative common `NoSuchFieldError` case in our internal Spark jobs(only for which shades old version of `commons-lang3` with `spark.driver.userClassPathFirst=true`). For example, <img width="729" alt="image" src="https://github.com/user-attachments/assets/072480d9-818d-4033-bfa3-bafc0320a6f2" /> -- 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]
