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

[#6375] improvment(catalog-hadoop): Remove protobuf-java to avoid conflict with authorization module #6376

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yuqi1129
Copy link
Contributor

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

@yuqi1129 yuqi1129 self-assigned this Jan 27, 2025
@@ -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")
Copy link
Contributor

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

@@ -101,6 +103,9 @@ tasks {
exclude("javax.servlet-*.jar")
exclude("kerb-*.jar")
exclude("kerby-*.jar")
// As L55-56 takes no effect actually in the final distribution package, we need to exclude
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use L55-56 the style, because the line number will change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe some other jars introduce protobuf-java dependences too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants