Hi all,

I'd like to propose dropping Spark 2 support from master, so that the next
Apache Uniffle release ships clients for Spark 3 and Spark 4 only.

Here are the reasons.

1. Spark 2 has been out of maintenance upstream for years. The last 2.3
release was 2.3.4 in September 2019, and the last 2.4 release was 2.4.8 in
May 2021.

2. Supporting it has a maintenance cost. The Spark 2 client is a separate
module (`client-spark/spark2`) built with Scala 2.11, and all 6 commits
that changed it since 0.10.0 had to make the same change in the Spark 3
client. `client-spark/common` also keeps branches for Spark 2.3 and 2.4,
and `patch/spark` keeps dynamic allocation patches for 2.3.4 and 2.4.6.

3. It takes CI time. The spark2 and spark2.3 profiles run 4 unit and
integration test jobs, which took 60 job-minutes in the master run for
#2833. The spotless, checkstyle, license, spotbugs and compile jobs also
build with `-Pspark2`.

This affects only master. The released rss-client-spark2-shaded artifacts,
0.8.0 to 0.10.0, stay on Maven Central, so Spark 2 users can stay on the
0.10.x line.

The change removes the spark2 and spark2.3 profiles, the
`client-spark/spark2`, `client-spark/spark2-shaded` and
`integration-test/spark2` modules, their CI entries, and the Spark 2 steps
in `build_distribution.sh` and `publish_maven_artifacts.sh`. I'll clean up
the remaining Spark 2 branches in `client-spark/common`, the patches and
the README in separate PRs.

Please let me know if you have any concerns.

Thanks,
Jie Yang

Reply via email to