-
Notifications
You must be signed in to change notification settings - Fork 398
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
[#6375] improvment(catalog-hadoop): Remove protobuf-java
to avoid conflict with authorization module
#6376
Conversation
@@ -52,6 +52,8 @@ dependencies { | |||
exclude("org.eclipse.jetty", "*") | |||
exclude("io.netty") | |||
exclude("org.fusesource.leveldbjni") | |||
// Exclude protobuf-java to avoid conflict with; | |||
exclude("com.google.protobuf", "protobuf-java") |
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.
is it still useful as you exclude the package in copy task
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.
Is exclude the protobuf-java
in copy task is more general solution? since other package may introduce protobuf-java
too.
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'm afraid excluding it in the gradle dependencies may be more general.
since other package may introduce protobuf-java too.
Some modules use copy task to exclude jars because using excluding
in gradle does not work. I believe this is not a very elegant behaviour.
@@ -52,6 +52,8 @@ dependencies { | |||
exclude("org.eclipse.jetty", "*") | |||
exclude("io.netty") | |||
exclude("org.fusesource.leveldbjni") | |||
// Exclude protobuf-java to avoid conflict with; |
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.
The comment is not complete?
@yuqi1129 can you please update this PR? |
…onflict with authorization module (#6376) ### What changes were proposed in this pull request? Remove jar `protobuf-java.jar` from the distribution package to avoid conflicts ### Why are the changes needed? To make authorization works for GCS fileset. Fix: #6375 ### Does this PR introduce _any_ user-facing change? N/A. ### How was this patch tested? N/A
…void conflict with authorization module (apache#6376) ### What changes were proposed in this pull request? Remove jar `protobuf-java.jar` from the distribution package to avoid conflicts ### Why are the changes needed? To make authorization works for GCS fileset. Fix: apache#6375 ### Does this PR introduce _any_ user-facing change? N/A. ### How was this patch tested? N/A
What changes were proposed in this pull request?
Remove jar
protobuf-java.jar
from the distribution package to avoid conflictsWhy are the changes needed?
To make authorization works for GCS fileset.
Fix: #6375
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
N/A