This is an automated email from the ASF dual-hosted git repository.
ramackri pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 6bf191373 RANGER-5642: Exclude duplicate Jersey JARs from Kafka plugin
packaging (#1020)
6bf191373 is described below
commit 6bf19137341fcbe1cbee1e7cffc2f341ac78f029
Author: Ramachandran Krishnan <[email protected]>
AuthorDate: Tue Jun 16 21:47:02 2026 +0530
RANGER-5642: Exclude duplicate Jersey JARs from Kafka plugin packaging
(#1020)
* RANGER-5642: Exclude duplicate Jersey JARs from Kafka plugin packaging
Revert the Kafka portion of #1015: the broker already ships Jersey on the
application classpath; duplicate JARs in plugin-impl cause
WadlAutoDiscoverable
ClassCastException and audit ingestor POST failures.
Co-authored-by: Cursor <[email protected]>
* RANGER-5647: Fix remaining ISO EXPIRES_ON dates in hive tag tests.
PR #1018 updated slash-format tag fixture dates to 2099/12/31 but left
2026-06-15 ISO expiry_date values in test_policyengine_tag_hive.json.
After 2026-06-15, TestPolicyEngine.testPolicyEngine_hiveForTag fails CI
with isAllowed expected true but was false for EXPIRES_ON SELF match.
Co-authored-by: Cursor <[email protected]>
* Revert "RANGER-5647: Fix remaining ISO EXPIRES_ON dates in hive tag
tests."
This reverts commit ef0dbdd2e0d0c594fa46113038aa4054e7a27348.
* RANGER-5642: Exclude duplicate Jackson JARs from Kafka plugin packaging
Review feedback on #1020: broker ships Jackson 2.16.x; plugin-impl must not
also whitelist jackson-annotations, jackson-core, jackson-databind, and
jackson-jaxrs-json-provider at Ranger 2.17.x — same principle as the Jersey
revert (use broker classpath for shared libraries).
Co-authored-by: Cursor <[email protected]>
---------
Co-authored-by: ramk <[email protected]>
Co-authored-by: Cursor <[email protected]>
---
distro/src/main/assembly/plugin-kafka.xml | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/distro/src/main/assembly/plugin-kafka.xml
b/distro/src/main/assembly/plugin-kafka.xml
index 6ae15a636..e06319ad4 100644
--- a/distro/src/main/assembly/plugin-kafka.xml
+++ b/distro/src/main/assembly/plugin-kafka.xml
@@ -54,10 +54,6 @@
<fileMode>644</fileMode>
<includes>
<include>com.carrotsearch:hppc</include>
-
<include>com.fasterxml.jackson.core:jackson-annotations:jar:${fasterxml.jackson.version}</include>
-
<include>com.fasterxml.jackson.core:jackson-core:jar:${fasterxml.jackson.version}</include>
-
<include>com.fasterxml.jackson.core:jackson-databind:jar:${fasterxml.jackson.version}</include>
-
<include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:${fasterxml.jackson.version}</include>
<include>com.fasterxml.woodstox:woodstox-core</include>
<include>com.google.code.gson:gson</include>
<include>com.google.protobuf:protobuf-java:jar:${protobuf-java.version}</include>
@@ -82,11 +78,6 @@
<include>org.apache.solr:solr-solrj:jar:${solr.version}</include>
<include>org.codehaus.woodstox:stax2-api</include>
<include>org.eclipse.jetty:jetty-client:jar:${jetty-client.version}</include>
-
<include>org.glassfish.jersey.core:jersey-client</include>
-
<include>org.glassfish.jersey.core:jersey-common</include>
-
<include>org.glassfish.jersey.inject:jersey-hk2</include>
-
<include>org.glassfish.hk2.external:javax.inject</include>
-
<include>jakarta.ws.rs:jakarta.ws.rs-api</include>
<include>org.glassfish.jersey.ext:jersey-entity-filtering:jar:${jersey-client.version}</include>
<include>org.glassfish.jersey.media:jersey-media-json-jackson:jar:${jersey-client.version}</include>
</includes>