-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Bugfix arrow-flight-rpc plugin dependency injection collision #18483
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
Bugfix arrow-flight-rpc plugin dependency injection collision #18483
Conversation
FlightStreamPlugin returns FlightService as AuxTransport as well as createComponents. Both references attempt to bind to FlightService.class and throws an exception. Removing redundant createComponents instance. Signed-off-by: Finn Carroll <carrofin@amazon.com>
…rt type. Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
|
@rishabhmaurya when convenient can you take a look at this small bugfix for flight service enable settings? Thanks! |
|
@finnegancarroll thanks for taking care of it, looks good! |
|
❌ Gradle check result for b1c11ad: 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? |
|
Flaky test: #15840 |
|
❌ Gradle check result for b1c11ad: 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? |
|
another flaky test, created #18485 |
|
❌ Gradle check result for b1c11ad: 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? |
|
❌ Gradle check result for b1c11ad: 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? |
|
❌ Gradle check result for b1c11ad: 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? |
|
❌ Gradle check result for b1c11ad: 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? |
|
❌ Gradle check result for b1c11ad: 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? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18483 +/- ##
============================================
+ Coverage 72.70% 72.73% +0.03%
- Complexity 68035 68087 +52
============================================
Files 5531 5531
Lines 313148 313148
Branches 45458 45458
============================================
+ Hits 227670 227777 +107
+ Misses 66944 66878 -66
+ Partials 18534 18493 -41 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5255f5b
into
opensearch-project:main
…arch-project#18483) * Bugfix enable FlightStreamPlugin. FlightStreamPlugin returns FlightService as AuxTransport as well as createComponents. Both references attempt to bind to FlightService.class and throws an exception. Removing redundant createComponents instance. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Update tests - Arrow flight transport now enabled through aux transport type. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Add readme with enable commands. Signed-off-by: Finn Carroll <carrofin@amazon.com> --------- Signed-off-by: Finn Carroll <carrofin@amazon.com>
…arch-project#18483) * Bugfix enable FlightStreamPlugin. FlightStreamPlugin returns FlightService as AuxTransport as well as createComponents. Both references attempt to bind to FlightService.class and throws an exception. Removing redundant createComponents instance. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Update tests - Arrow flight transport now enabled through aux transport type. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Add readme with enable commands. Signed-off-by: Finn Carroll <carrofin@amazon.com> --------- Signed-off-by: Finn Carroll <carrofin@amazon.com>Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>
…arch-project#18483) * Bugfix enable FlightStreamPlugin. FlightStreamPlugin returns FlightService as AuxTransport as well as createComponents. Both references attempt to bind to FlightService.class and throws an exception. Removing redundant createComponents instance. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Update tests - Arrow flight transport now enabled through aux transport type. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Add readme with enable commands. Signed-off-by: Finn Carroll <carrofin@amazon.com> --------- Signed-off-by: Finn Carroll <carrofin@amazon.com>
…arch-project#18483) * Bugfix enable FlightStreamPlugin. FlightStreamPlugin returns FlightService as AuxTransport as well as createComponents. Both references attempt to bind to FlightService.class and throws an exception. Removing redundant createComponents instance. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Update tests - Arrow flight transport now enabled through aux transport type. Signed-off-by: Finn Carroll <carrofin@amazon.com> * Add readme with enable commands. Signed-off-by: Finn Carroll <carrofin@amazon.com> --------- Signed-off-by: Finn Carroll <carrofin@amazon.com>
Description
arrow-flight-rpcplugin provides theFlightServicethrough bothcreateComponentas well asgetAuxTransports. These two instances collide when Node.java dependency injection framework binds them both toFlightService.class.Removing the
createComponentinstance to resolve this conflict.createComponentdoes not respect aux transport enable settings or port range settings.Error:
Related Issues
No issue
Check List
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.