You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "yuqi1129 (via GitHub)" <gi...@apache.org> on 2025/01/24 09:37:59 UTC
[PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
yuqi1129 opened a new pull request, #6364:
URL: https://github.com/apache/gravitino/pull/6364
### What changes were proposed in this pull request?
Shade some GCP, gcp and probobuf classes to avoid conflicts with GCP IAM classes.
### Why are the changes needed?
To avoid possible class conflicts.
Fix: #6363
### Does this PR introduce _any_ user-facing change?
N/A.
### How was this patch tested?
existing UTs and ITs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "tengqm (via GitHub)" <gi...@apache.org>.
tengqm commented on PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#issuecomment-2614244576
lgtm
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#discussion_r1929665401
##########
bundles/gcp-bundle/build.gradle.kts:
##########
@@ -42,6 +42,12 @@ tasks.withType(ShadowJar::class.java) {
relocate("com.google.common", "org.apache.gravitino.gcp.shaded.com.google.common")
relocate("com.fasterxml", "org.apache.gravitino.gcp.shaded.com.fasterxml")
relocate("org.eclipse.jetty", "org.apache.gravitino.gcp.shaded.org.eclipse.jetty")
+ relocate("com.google.protobuf", "org.apache.gravitino.gcp.shaded.com.google.protobuf")
+ relocate("io.grpc", "org.apache.gravitino.gcp.shaded.io.grpc")
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#discussion_r1929655826
##########
bundles/gcp-bundle/build.gradle.kts:
##########
@@ -42,6 +42,12 @@ tasks.withType(ShadowJar::class.java) {
relocate("com.google.common", "org.apache.gravitino.gcp.shaded.com.google.common")
relocate("com.fasterxml", "org.apache.gravitino.gcp.shaded.com.fasterxml")
relocate("org.eclipse.jetty", "org.apache.gravitino.gcp.shaded.org.eclipse.jetty")
Review Comment:
why not shade the package in `gcp` module too?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#discussion_r1929655928
##########
bundles/gcp-bundle/build.gradle.kts:
##########
@@ -42,6 +42,12 @@ tasks.withType(ShadowJar::class.java) {
relocate("com.google.common", "org.apache.gravitino.gcp.shaded.com.google.common")
relocate("com.fasterxml", "org.apache.gravitino.gcp.shaded.com.fasterxml")
relocate("org.eclipse.jetty", "org.apache.gravitino.gcp.shaded.org.eclipse.jetty")
+ relocate("com.google.protobuf", "org.apache.gravitino.gcp.shaded.com.google.protobuf")
+ relocate("io.grpc", "org.apache.gravitino.gcp.shaded.io.grpc")
Review Comment:
please keep in alphabetical order
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#issuecomment-2614205648
In your enviroment, there are some existing GCP IAM classes conflict with the GCP IAM classes in gcp-bundle?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#discussion_r1929669331
##########
bundles/gcp-bundle/build.gradle.kts:
##########
@@ -42,6 +42,12 @@ tasks.withType(ShadowJar::class.java) {
relocate("com.google.common", "org.apache.gravitino.gcp.shaded.com.google.common")
relocate("com.fasterxml", "org.apache.gravitino.gcp.shaded.com.fasterxml")
relocate("org.eclipse.jetty", "org.apache.gravitino.gcp.shaded.org.eclipse.jetty")
Review Comment:
OH, seems no requrirement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 merged PR #6364:
URL: https://github.com/apache/gravitino/pull/6364
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#discussion_r1929664173
##########
bundles/gcp-bundle/build.gradle.kts:
##########
@@ -42,6 +42,12 @@ tasks.withType(ShadowJar::class.java) {
relocate("com.google.common", "org.apache.gravitino.gcp.shaded.com.google.common")
relocate("com.fasterxml", "org.apache.gravitino.gcp.shaded.com.fasterxml")
relocate("org.eclipse.jetty", "org.apache.gravitino.gcp.shaded.org.eclipse.jetty")
Review Comment:
Gravitino server will use `gcp-bundle` for Hadoop catalog only. The conflict only exists in Gravitino server now, so do you mean you need to also consider module `gcp` for future use case?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#6363] improvment(bundle-gcp): Shade some GCP IAM classes in `gcp-bundles` to avoid possible conflict [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #6364:
URL: https://github.com/apache/gravitino/pull/6364#issuecomment-2614222858
> In your enviroment, there are some existing GCP IAM classes conflict with the GCP IAM classes in gcp-bundle?
Yes, the module `authorizaion-gcp-iam` will also contain some common class that conflicts with `gcp-bundle`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org