Skip to content

Comments

[CELEBORN-1898] SparkOutOfMemoryError compatible with Spark 4.0 and 4.1#3141

Closed
pan3793 wants to merge 1 commit intoapache:mainfrom
pan3793:CELEBORN-1898
Closed

[CELEBORN-1898] SparkOutOfMemoryError compatible with Spark 4.0 and 4.1#3141
pan3793 wants to merge 1 commit intoapache:mainfrom
pan3793:CELEBORN-1898

Conversation

@pan3793
Copy link
Member

@pan3793 pan3793 commented Mar 10, 2025

What changes were proposed in this pull request?

SPARK-49946 (4.0.0) removes single String constructor of class SparkOutOfMemoryError and introduces _LEGACY_ERROR_TEMP_3301 error condition, SPARK-51386 (4.1.0) renames the error condition to POINTER_ARRAY_OUT_OF_MEMORY.

Why are the changes needed?

To be compatible with Spark 4.0 and 4.1

Does this PR introduce any user-facing change?

No.

How was this patch tested?

GHA checks Spark 2.4 to Spark 3.5, I manually tested with Spark 4.0.0 RC2

@pan3793
Copy link
Member Author

pan3793 commented Mar 10, 2025

cc @SteNicholas @FMX, the upstream change happens after Spark 4.0.0-preview2

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks. This PR is beyond the expectation. Merged into main(v0.6.0).

@FMX FMX closed this in df80915 Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants