Skip to content
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

[SPARK-48384][BUILD] Exclude io.netty:netty-tcnative-boringssl-static from zookeeper #46695

Closed
wants to merge 1 commit into from

Conversation

panbingkun
Copy link
Contributor

@panbingkun panbingkun commented May 22, 2024

What changes were proposed in this pull request?

The pr aims to exclude io.netty:netty-tcnative-boringssl-static from zookeeper.

Why are the changes needed?

1.According to:
https://github.com/netty/netty-tcnative/blob/c9b4b6ab62cdbfb4aab6ab3efb8dd7cf73f353ad/boringssl-static/pom.xml#L970-L982
the io.netty:netty-tcnative-boringssl-static is composed of:
io.netty:netty-tcnative-boringssl-static:linux-aarch_64
io.netty:netty-tcnative-boringssl-static:linux-x86_64
io.netty:netty-tcnative-boringssl-static:osx-aarch_64
io.netty:netty-tcnative-boringssl-static:osx-x86_64
io.netty:netty-tcnative-boringssl-staticwindows-x86_64
and our common/network-common/pom.xml file already explicitly depends on them.

2.Their versions are different in dev/deps/spark-deps-hadoop-3-hive-2.3
image
Let's keep one version to avoid conflicts.

3.In the pom.xml file, zookeeper already has other netty related exclusions, eg:
https://github.com/apache/spark/blob/master/pom.xml#L1838-L1842
image

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.

@panbingkun panbingkun marked this pull request as draft May 22, 2024 01:39
@github-actions github-actions bot added the BUILD label May 22, 2024
@panbingkun panbingkun marked this pull request as ready for review May 22, 2024 02:05
@panbingkun
Copy link
Contributor Author

cc @LuciferYang @dongjoon-hyun

@panbingkun
Copy link
Contributor Author

Although I read inside the contents of netty-tcnative-boringssl-static-2.0.61.Final.jar file, there is nothing in it, I propose we delete it or change it to rely on netty-tcnative-boringssl-static-2.0.65.Final.jar to avoid misunderstanding
image

@LuciferYang
Copy link
Contributor

LuciferYang commented May 22, 2024

Although I read inside the contents of netty-tcnative-boringssl-static-2.0.61.Final.jar file, there is nothing in it, I propose we delete it or change it to rely on netty-tcnative-boringssl-static-2.0.65.Final.jar to avoid misunderstanding image

If that's the case, both fine for me

@pan3793
Copy link
Member

pan3793 commented May 22, 2024

cc @mridulm and @hasnain-db as the change is related to SSL dependency

@hasnain-db
Copy link
Contributor

Using 2.0.65 seems fine to me (and preferred)

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. I prefer to exclude this. We can add back during RC if this is a required dependency.

However, I'll leave this to the other committers.

@LuciferYang
Copy link
Contributor

Merged into master for Spark 4.0. Thanks @panbingkun @dongjoon-hyun @hasnain-db and @pan3793 ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants