Skip to content

Enable jarhell check#3227

Merged
peternied merged 3 commits into
opensearch-project:mainfrom
peternied:remove-jar-hell-exclusion
Aug 22, 2023
Merged

Enable jarhell check#3227
peternied merged 3 commits into
opensearch-project:mainfrom
peternied:remove-jar-hell-exclusion

Conversation

@peternied

Copy link
Copy Markdown
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

codecov Bot commented Aug 21, 2023

Copy link
Copy Markdown

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
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jar-hell error while executing integTestRemote task

3 participants