-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Arrow Flight Server bootstrap logic #16962
base: main
Are you sure you want to change the base?
Arrow Flight Server bootstrap logic #16962
Conversation
❌ Gradle check result for 53ad56f: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
53ad56f
to
f360c80
Compare
❌ Gradle check result for f360c80: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
83b63d3
to
b38f302
Compare
❌ Gradle check result for b38f302: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
@rishabhmaurya I know that this is work in progress but please take a look at [1] where the notion of auxiliary transports (and plugins implementing ones, like gRPC), has been introduced. We may (and very likely - should) consider Apache Arrow Flight as one of such transports, it should be optional plugin and not part of the core server. Thank you [1] #16534 |
@reta thanks for the pointer, I will update the PR and try to use aux transport. |
4cae87e
to
60f82e9
Compare
❌ Gradle check result for 60f82e9: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
60f82e9
to
f9623e9
Compare
❌ Gradle check result for f9623e9: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
4601334
to
93df0aa
Compare
❌ Gradle check result for 93df0aa: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
93df0aa
to
63bc0f4
Compare
❌ Gradle check result for 63bc0f4: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
63bc0f4
to
d364c1c
Compare
❌ Gradle check result for d364c1c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
* new plugin for StreamManager implementation * integration with server module * support for SslContext in Flight server and client * ClientManager for creating a pool of flight clients for data nodes * custom event loop group and thread pool for server and client channel Signed-off-by: Rishabh Maurya <[email protected]>
@reta do you know how can i address the gradle check failure related to
|
@rishabhmaurya It is caused by https://github.com/opensearch-project/OpenSearch/pull/16962/files#diff-756d8dcb1dfd9f8fa9bf974880af0b001cef12541eb17857ff30d4aa922bc05eR200 (change in server/src/main/resources/org/opensearch/bootstrap/security.policy |
@reta ah, thanks. How did you find that out as I couldn't find any error message in the logs |
@rishabhmaurya needed some debugging, afair some tests were required some more security permissions but those could be ignored (since tests are focused on diagnostics) |
dependencies { | ||
implementation project(':libs:opensearch-arrow-spi') | ||
|
||
implementation "io.netty:netty-buffer:${versions.netty}" |
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.
Did you consider using the netty shaded gRPC dependency? The gRPC maintainers seem to recommend using that as they sometimes depend on unstable Netty APIs and the shaded version avoids problems on upgrades.
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.
good point, let me try
d364c1c
to
d300467
Compare
Signed-off-by: Rishabh Maurya <[email protected]>
d300467
to
cde986a
Compare
❌ Gradle check result for cde986a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Description
This PR adds server bootstrap logic for Arrow Flight. This is in continuation to #16691
StreamManager
implementation behind feature flag with default behaviour as disabled.StreamManager
with server module.SslContext
in Flight server and client.SecureTransportSettingsProvider
to buildSslContext
outside of security plugin.ClientManager
for creating a pool of flight clients for data nodes only.ServerConfig
.StreamManager
wrapper for integration with task API.TODOs:
SslContext
usingSecureTransportSettingsProvider
[FEATURE] Support additional params in SecureTransportSettingsProvider to enable building of SslContext outside of security plugin security#5011ServerConfig
- [Feature Request] Tune up server config for Flight server #16966I will handle both of them as part of follow up PRs.
Related Issues
Resolves #16963
#16679
Check List
- [ ] API changes companion pull request created, if applicable.- [ ] Public documentation issue/PR created, if applicable.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.