Skip to content

[SPARK-56229] Remove io.netty.noUnsafe from default JVM args according to Netty change#593

Closed
dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
dongjoon-hyun:SPARK-56229
Closed

[SPARK-56229] Remove io.netty.noUnsafe from default JVM args according to Netty change#593
dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
dongjoon-hyun:SPARK-56229

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun commented Mar 26, 2026

What changes were proposed in this pull request?

This PR removes -Dio.netty.noUnsafe=true from the default JVM args in values.yaml.

Why are the changes needed?

Netty 4.2.2+ have a correct implementation instead of Unsafe usage for Java 25+ like the following instead of the legacy Unsafe operation.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs with the existing tests.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (claude-4-opus)

@dongjoon-hyun dongjoon-hyun marked this pull request as draft March 26, 2026 03:45
@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review March 26, 2026 03:47
@dongjoon-hyun dongjoon-hyun added this to the 0.9.0 milestone Mar 26, 2026
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

cc @peter-toth

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Could you review this JVM option PR when you have some time, @sarutak ?

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Thank you so much, @sarutak ~

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Merged to main

@dongjoon-hyun dongjoon-hyun deleted the SPARK-56229 branch March 26, 2026 05:50
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.

2 participants