-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-46432][BUILD] Upgrade Netty to 4.1.106.Final #44384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you check the CI failures?
Okay, let me check it, I'll temporarily change PR to draft first. |
|
Yes, I am fixing this issue. |
|
A new pr for fix issued about |
|
Thank you for the info, @panbingkun . |
|
@panbingkun Please rebase this PR, and I think the upgrade target can be 4.1.106, we can reuse this ticket |
|
+1 for @LuciferYang 's comment. |
|
Done. |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please regenerate the dependency file. It seems that there is a new entry like the following.
netty-transport-native-epoll/4.1.106.Final/linux-riscv64/netty-transport-native-epoll-4.1.106.Final-linux-riscv64.jar
|
Can Spark run on the riscv64 machine? Can we exclude this dependency? If not, we still need to fix spark/common/network-yarn/pom.xml Lines 175 to 185 in b86053c
|
| tofile="${project.build.directory}/exploded/META-INF/native/lib${spark.shade.native.packageName}_netty_transport_native_epoll_aarch_64.so" /> | ||
| <move file="${project.build.directory}/exploded/META-INF/native/libnetty_transport_native_kqueue_aarch_64.jnilib" | ||
| tofile="${project.build.directory}/exploded/META-INF/native/lib${spark.shade.native.packageName}_netty_transport_native_kqueue_aarch_64.jnilib" /> | ||
| <move file="${project.build.directory}/exploded/META-INF/native/libnetty_transport_native_epoll_riscv64.so" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only this entry has been added, and the rest has been adjusted for indentation, from 4 spaces to 2 spaces.
Done. |
|
In fact, I am more inclined to exclude this dependency. Because we do not yet have the corresponding CI to verify the usability of Apache Spark on RISC-V, so I personally think it is not supported on this architecture for the time being. |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. I'm fine with new entry. It doesn't mean Apache Spark claims any new additional architecture support. Could you reconsider your decision, @LuciferYang ?
netty-transport-native-epoll/4.1.106.Final/linux-aarch_64/netty-transport-native-epoll-4.1.106.Final-linux-aarch_64.jar
netty-transport-native-epoll/4.1.106.Final/linux-riscv64/netty-transport-native-epoll-4.1.106.Final-linux-riscv64.jar
netty-transport-native-epoll/4.1.106.Final/linux-x86_64/netty-transport-native-epoll-4.1.106.Final-linux-x86_64.jar
LuciferYang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, let's add this new dependency.
|
Merged into master for Spark 4.0. Thanks @panbingkun and @dongjoon-hyun ~ |
|
Thank you, @panbingkun and @LuciferYang ! |
The pr aims to upgrade `Netty` from `4.1.100.Final` to `4.1.106.Final`. - To bring the latest bug fixes Automatically close Http2StreamChannel when Http2FrameStreamExceptionreaches end ofChannelPipeline ([apache#13651](netty/netty#13651)) Symbol not found: _netty_jni_util_JNI_OnLoad ([apache#13695](netty/netty#13728)) - 4.1.106.Final release note: https://netty.io/news/2024/01/19/4-1-106-Final.html - 4.1.105.Final release note: https://netty.io/news/2024/01/16/4-1-105-Final.html - 4.1.104.Final release note: https://netty.io/news/2023/12/15/4-1-104-Final.html - 4.1.103.Final release note: https://netty.io/news/2023/12/13/4-1-103-Final.html - 4.1.101.Final release note: https://netty.io/news/2023/11/09/4-1-101-Final.html No. Pass GA. No. Closes apache#44384 from panbingkun/SPARK-46432. Lead-authored-by: panbingkun <[email protected]> Co-authored-by: panbingkun <[email protected]> Signed-off-by: yangjie01 <[email protected]>

What changes were proposed in this pull request?
The pr aims to upgrade
Nettyfrom4.1.100.Finalto4.1.106.Final.Why are the changes needed?
To bring the latest bug fixes
Automatically close Http2StreamChannel when Http2FrameStreamExceptionreaches end ofChannelPipeline (#13651)
Symbol not found: _netty_jni_util_JNI_OnLoad (#13695)
4.1.106.Final release note: https://netty.io/news/2024/01/19/4-1-106-Final.html
4.1.105.Final release note: https://netty.io/news/2024/01/16/4-1-105-Final.html
4.1.104.Final release note: https://netty.io/news/2023/12/15/4-1-104-Final.html
4.1.103.Final release note: https://netty.io/news/2023/12/13/4-1-103-Final.html
4.1.101.Final release note: https://netty.io/news/2023/11/09/4-1-101-Final.html
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.