-
Notifications
You must be signed in to change notification settings - Fork 381
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
[#3320] fix(client): shadow slf4j for client-java-runtime #3318
Conversation
@FANNG1 |
created corresponding issues, please check it again. |
@@ -29,6 +29,7 @@ tasks.withType<ShadowJar>(ShadowJar::class.java) { | |||
relocate("com.google", "com.datastrato.gravitino.shaded.com.google") | |||
relocate("google", "com.datastrato.gravitino.shaded.google") | |||
relocate("org.apache.hc", "com.datastrato.gravitino.shaded.org.apache.hc") | |||
relocate("org.apache.logging.slf4j", "com.datastrato.gravitino.shaded.org.apache.logging.slf4j") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you already relocate the slf4j jar in client-java-runtime, do you need to relocate again in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked by extracting the jar package, it doesn't exist, thanks for pointing this.
### What changes were proposed in this pull request? shadow slf4j for client-java-runtime and spark-connector-runtime ### Why are the changes needed? some systems like spark 3.3 need low version log4j, will encounter the conflict bug: ``` java.lang.NoSuchMethodError: org.apache.logging.slf4j.Log4jLoggerFactory: method 'void <init>()' not found ``` fix: #3320 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? existing tests
…he#3318) ### What changes were proposed in this pull request? shadow slf4j for client-java-runtime and spark-connector-runtime ### Why are the changes needed? some systems like spark 3.3 need low version log4j, will encounter the conflict bug: ``` java.lang.NoSuchMethodError: org.apache.logging.slf4j.Log4jLoggerFactory: method 'void <init>()' not found ``` fix: apache#3320 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? existing tests
What changes were proposed in this pull request?
shadow slf4j for client-java-runtime and spark-connector-runtime
Why are the changes needed?
some systems like spark 3.3 need low version log4j, will encounter the conflict bug:
fix: #3320
Does this PR introduce any user-facing change?
no
How was this patch tested?
existing tests