-
Notifications
You must be signed in to change notification settings - Fork 283
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
Jar-hell error while executing integTestRemote task #1938
Comments
I was able to work around this issue with DarshitChanpura#4 This is not the correct solution but you can use this to build up the test while we figure out how to resolve the conflicting jars |
Following up from the issue in OpenSearch (Above), we should keep the 'disable JarHell' logic in place for the time being, it will keep us unblocked until we arrival at a final state. Please do not resolve this issue until that code has been reverted. |
Good news, kafka |
@peternied are we good to remove the workaround? |
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>
@davidlago Thanks for mentioning this issue - yes we can re-enable this check. I've created a pull request to resolve this. |
Current Behavior:
I keep running into jar hell error everytime I run
integTestRemote
task, but gradle build seems to be running fine with regular tests.This issue is blocking development of #1761
Error
Repro
Checking out https://github.com/DarshitChanpura/security/tree/initial-test-distr-suite and run
./gradlew integTestRemote
to see theAdditional details
build.gradle changes:
The test class:
Expected Behavior:
Should not fail with this error.
The text was updated successfully, but these errors were encountered: