You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "xunliu (via GitHub)" <gi...@apache.org> on 2024/08/29 03:16:01 UTC
[PR] [#4678] Shrink Ranger authorization plugin package size [gravitino]
xunliu opened a new pull request, #4756:
URL: https://github.com/apache/gravitino/pull/4756
### What changes were proposed in this pull request?
Exclude invalidate depends on JAR package in the Rangere authorization module.
### Why are the changes needed?
Reduce Rangere authorization library package size from `16.7 MB` to `12.9MB`
Fix: #4678
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
CI passed.
--
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] [#4678] improve(auth-ranger): Shrink Ranger authorization plugin package size [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on code in PR #4756:
URL: https://github.com/apache/gravitino/pull/4756#discussion_r1735530350
##########
authorizations/authorization-ranger/build.gradle.kts:
##########
@@ -32,13 +32,10 @@ dependencies {
exclude(group = "*")
}
implementation(libs.bundles.log4j)
- implementation(libs.commons.collections4)
implementation(libs.commons.lang3)
implementation(libs.guava)
Review Comment:
I think the jars like log4j, guava are already provided by Gravitino's base classpath, so we can remove these when doing copyLib, you can refer to @yuqi1129 's PR #4521
--
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] [#4678] improve(auth-ranger): Shrink Ranger authorization plugin package size [gravitino]
Posted by "xunliu (via GitHub)" <gi...@apache.org>.
xunliu commented on PR #4756:
URL: https://github.com/apache/gravitino/pull/4756#issuecomment-2316675617
> @xunliu Do we need the package `jersey-bundle-1.19.3.jar` for Ranger?
Yes, We need it, Because `RangerClientExtend.java` depends on it.
--
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] [#4678] improve(auth-ranger): Shrink Ranger authorization plugin package size [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on code in PR #4756:
URL: https://github.com/apache/gravitino/pull/4756#discussion_r1735530350
##########
authorizations/authorization-ranger/build.gradle.kts:
##########
@@ -32,13 +32,10 @@ dependencies {
exclude(group = "*")
}
implementation(libs.bundles.log4j)
- implementation(libs.commons.collections4)
implementation(libs.commons.lang3)
implementation(libs.guava)
Review Comment:
I think the jars like log4j, guava are already provided by Gravitino's base classpath, so we can remove these when doing copyLib, you can refer to @yuqi1129 's PR #4521
--
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] [#4678] improve(auth-ranger): Shrink Ranger authorization plugin package size [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on PR #4756:
URL: https://github.com/apache/gravitino/pull/4756#issuecomment-2316665566
@xunliu
Do we need the package `jersey-bundle-1.19.3.jar` for Ranger?
--
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] [#4678] improve(auth-ranger): Shrink Ranger authorization plugin package size [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao merged PR #4756:
URL: https://github.com/apache/gravitino/pull/4756
--
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] [#4678] improve(auth-ranger): Shrink Ranger authorization plugin package size [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #4756:
URL: https://github.com/apache/gravitino/pull/4756#issuecomment-2316661306
LGTM, @yuqi1129 you wanner take another look?
--
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