mchades commented on code in PR #4531:
URL: https://github.com/apache/gravitino/pull/4531#discussion_r1737648522
##########
authorizations/authorization-ranger/build.gradle.kts:
##########
@@ -50,11 +56,9 @@ dependencies {
exclude("org.apache.ranger", "ranger-plugin-classloader")
exclude("net.java.dev.jna")
exclude("javax.ws.rs")
+ exclude("org.eclipse.jetty")
}
- implementation(libs.javax.ws.rs.api)
- implementation(libs.javax.jaxb.api) {
- exclude("*")
- }
+ implementation(libs.rome)
Review Comment:
Because I excluded some Hive catalog dependencies, RangerHiveIT encountered
a ClassNotFoundException, so I introduced these dependencies to fix it.
I think the root cause is that the AuthRanger plugin uses the same class
loader as the Hive catalog. Previously, the Ranger plugin used dependencies of
the Hive catalog.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]