Skip to content

Conversation

@slfan1989
Copy link
Contributor

@slfan1989 slfan1989 commented Jan 18, 2026

Which issue does this PR close?

Closes #1404.

Rationale for this change

[AURON#1404] Support for Spark 4.0.1 Compatibility in Auron.

What changes are included in this PR?

To support Spark 4, Auron needs to be adapted accordingly. Currently, Celeborn already supports Spark 4.0, and Iceberg has also supported Spark 4.0 for some time. The Iceberg community has already voted to deprecate support for Spark 3.4, and it will be removed soon.

For this PR, I have made the following changes:

  • Three changes encountered during compilation:

    • NativeShuffleExchangeExec#ShuffleWriteProcessor: Due to SPARK-44605 restructuring the write method in the API, I refactored the partition and rdd handling here to retrieve them from dependencies for compatibility with other interfaces. In the future, we should switch to the new interface and make further changes to nativeRssShuffleWrite / nativeShuffleWrite.

    • NativeBroadcastExchangeBase#getBroadcastTimeout: In Spark 4.0, getBroadcastTimeout needs to be fetched from getActiveSession.

    • NativeBroadcastExchangeBase#getRelationFuture: In Spark 4.0, the type of SparkSession has changed to org.apache.spark.sql.classic.SparkSession, so I made the necessary adjustments to the way it is accessed.

Are there any user-facing changes?

No.

How was this patch tested?

CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Spark 4.0.1 Compatibility in Auron

1 participant