-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bump version of Hadoop dependencies to 3.3.6 #6995
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
failure occurs in the tests:
All the tests failed with the same reason
There are some past issues or PRs mentioned the java exception when searching java.security.AccessControlException: access denied |
@reta looks like your were able to upgrade hadoop to 3.3.6? Will this change affect the downstream plugins? |
Gradle Check (Jenkins) Run Completed with:
|
@owaiskazi19 Correct but there is a catch - we need to use custom ForkJoinPoolFactory, we probably need to think if that opens up any undesired flaws. |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Tianli Feng <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #6995 +/- ##
============================================
+ Coverage 70.98% 71.14% +0.16%
- Complexity 57166 57254 +88
============================================
Files 4757 4758 +1
Lines 269823 269841 +18
Branches 39474 39479 +5
============================================
+ Hits 191536 191990 +454
+ Misses 62158 61693 -465
- Partials 16129 16158 +29
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-6995-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6786608a87d3e7fa306382a38e5702ae830f60e4
# Push it to GitHub
git push --set-upstream origin backport/backport-6995-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
Signed-off-by: Tianli Feng <[email protected]> Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 6786608)
Signed-off-by: Tianli Feng <[email protected]> Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 6786608) Co-authored-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Tianli Feng <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Kaushal Kumar <[email protected]>
Signed-off-by: Tianli Feng <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Ivan Brusic <[email protected]>
Signed-off-by: Tianli Feng <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Upgrade the version of
Hadoop
dependencies from 3.3.4 to 3.3.6Changed:
in file plugins/repository-hdfs/build.gradle:
upgrade
org.apache.hadoop:hadoop-client-api
,org.apache.hadoop:hadoop-client-runtime
,org.apache.hadoop:hadoop-hdfs
to 3.3.6in file test/fixtures/hdfs-fixture/build.gradle:
upgrade
org.apache.hadoop:hadoop-minicluster
to 3.3.6Issues Resolved
Hadoop library introduces many transitive dependencies to OpenSearch, and using outdated dependencies is a red flag for some security scanners.
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.