idzikovsky opened a new pull request, #530: URL: https://github.com/apache/livy/pull/530
## What changes were proposed in this pull request? I've stared working on Spark 4 compatibility in my local fork. I don't think that all changes that I've made is applicable to be pushed to the upstream project, but this change I'm confident about. In this fix I mainly updated usage of collections to be compatible with new redesigned Scala 2.13 collections (so as with older Scala 2.11/2.12 collections). Also, I replaced invocation of `ServletContext.initParameters()` with `ServletContext.setInitParameter()`, because the old wrapper is not compatible with a new `jakarta.servlet.ServletContext` interface (Spark 4 migrated from javax to jakarta), while `ServletContext.setInitParameter()` is version-independent. ## How was this patch tested? I run unit tests and manually tested that I'm able to create a Session. ## Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.8. -- 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]
