-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-45376][CORE] Add netty-tcnative-boringssl-static dependency #43164
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -223,6 +223,7 @@ | |
| <bouncycastle.version>1.70</bouncycastle.version> | ||
| <tink.version>1.9.0</tink.version> | ||
| <netty.version>4.1.99.Final</netty.version> | ||
| <netty-tcnative.version>2.0.61.Final</netty-tcnative.version> | ||
| <!-- | ||
| If you are changing Arrow version specification, please check | ||
| ./python/pyspark/sql/pandas/utils.py, and ./python/setup.py too. | ||
|
|
@@ -928,6 +929,30 @@ | |
| <version>${netty.version}</version> | ||
| <classifier>osx-x86_64</classifier> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-tcnative-boringssl-static</artifactId> | ||
|
||
| <version>${netty-tcnative.version}</version> | ||
| <classifier>linux-x86_64</classifier> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-tcnative-boringssl-static</artifactId> | ||
| <version>${netty-tcnative.version}</version> | ||
| <classifier>linux-aarch_64</classifier> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-tcnative-boringssl-static</artifactId> | ||
| <version>${netty-tcnative.version}</version> | ||
| <classifier>osx-aarch_64</classifier> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty-tcnative-boringssl-static</artifactId> | ||
| <version>${netty-tcnative.version}</version> | ||
| <classifier>osx-x86_64</classifier> | ||
| </dependency> | ||
| <!-- Netty End --> | ||
|
|
||
| <dependency> | ||
|
|
||
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.
Does the
network-yarnmodule have a requirement to use these native codes?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.
I don't believe it needs a direct dependency here if you look at the code changes to
resource-managers/yarnin #42685 - we do add tests to the yarn code that do pass.We do change
ShuffleTransportContextwhich is innetwork-common, and that's what is used by yarn here.network-yarndepends onnetwork-shufflewhich depends onnetwork-commonso I think that's how the dependency gets pulled in.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.
These need to be test scope right?
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.
@srowen the
bouncycastleandnetwork-common-helperdependencies are only needed in the test scope, but thenetty-tcnative-boringssl-staticdependencies need to be available in the production build. We need this dependency in order to provide SSL support.