Is your feature request related to a problem?
Apache Spark 4.0.0 was released in December 2024 with breaking changes (Scala 2.12 dropped, Java 17+ required, javax→jakarta migration). Users who upgrade to Spark 4.0 cannot use opensearch-hadoop as it currently only supports up to Spark 3.x.
What solution would you like?
Add a new opensearch-spark-40 module following the existing pattern of opensearch-spark-20 and opensearch-spark-30
- New module:
spark/sql-40/
- Scala 2.13 support (Spark 4.0 requirement)
- Java 17+ runtime
- Updated dependencies (
jakarta.servlet, jakarta.xml.bind, etc.)
- CI workflow for Spark 4.0 builds
What alternatives have you considered?
Users can continue using Spark 2.x or 3.x with the existing modules.
Do you have any additional context?
Key Spark 4.0 changes
Reference: Spark 4.0.0 Release Notes
Is your feature request related to a problem?
Apache Spark 4.0.0 was released in December 2024 with breaking changes (Scala 2.12 dropped, Java 17+ required, javax→jakarta migration). Users who upgrade to Spark 4.0 cannot use opensearch-hadoop as it currently only supports up to Spark 3.x.
What solution would you like?
Add a new
opensearch-spark-40module following the existing pattern ofopensearch-spark-20andopensearch-spark-30spark/sql-40/jakarta.servlet,jakarta.xml.bind, etc.)What alternatives have you considered?
Users can continue using Spark 2.x or 3.x with the existing modules.
Do you have any additional context?
Key Spark 4.0 changes
javax.servlet→jakarta.servletReference: Spark 4.0.0 Release Notes