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

Enable jarhell check #3227

Merged

Conversation

peternied
Copy link
Member

Description

JarHell was disabled due to an issue with Kafka where there were multiple copies of the same class packaged inside of a release and test distribution jar. This was resolved with apache/kafka#12407

The Kafka change has been merged, released, and pulled into this repository so we are removing the workaround to supress jar hell issue detection.

Issues Resolved

Testing

./gradlew jarhell passes

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

JarHell was disabled due to an issue with Kafka where there were
multiple copies of the same class packaged inside of a release and test
distribution jar.  This was resolved with apache/kafka#12407

The Kafka change has been merged, released, and pulled into this
repository so we are removing the workaround to supress jar hell issue
detection.

- Resolves opensearch-project#1938

Signed-off-by: Peter Nied <petern@amazon.com>
@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Merging #3227 (f400a5c) into main (07406d6) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #3227      +/-   ##
============================================
- Coverage     62.43%   62.42%   -0.02%     
  Complexity     3351     3351              
============================================
  Files           254      254              
  Lines         19748    19748              
  Branches       3334     3334              
============================================
- Hits          12330    12328       -2     
+ Misses         5789     5788       -1     
- Partials       1629     1632       +3     

see 4 files with indirect coverage changes

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
@peternied peternied merged commit 75f529a into opensearch-project:main Aug 22, 2023
@peternied peternied deleted the remove-jar-hell-exclusion branch August 22, 2023 12:26
@peternied peternied added the backport 2.x backport to 2.x branch label Aug 22, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 22, 2023
JarHell was disabled due to an issue with Kafka where there were
multiple copies of the same class packaged inside of a release and test
distribution jar. This was resolved with
apache/kafka#12407

The Kafka change has been merged, released, and pulled into this
repository so we are removing the workaround to supress jar hell issue
detection.

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit 75f529a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
peternied pushed a commit that referenced this pull request Aug 24, 2023
Backport 75f529a from #3227.

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jar-hell error while executing integTestRemote task
3 participants