Skip to content

Commit 9ab6516

Browse files
authored
fix: dependencies for Druid 30.0.0 (#804)
* fix compatibility issues by downgrading dependencies * add comments to patch
1 parent 3a06047 commit 9ab6516

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

druid/stackable/patches/30.0.0/04-update-patch-dependencies.patch

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@ From: Lars Francke <[email protected]>
77
0 files changed
88

99
diff --git a/extensions-core/druid-pac4j/pom.xml b/extensions-core/druid-pac4j/pom.xml
10-
index b48171d192..282e0e5b15 100644
10+
index 282e0e5b15..523a2ca305 100644
1111
--- a/extensions-core/druid-pac4j/pom.xml
1212
+++ b/extensions-core/druid-pac4j/pom.xml
13-
@@ -38,7 +38,7 @@
13+
@@ -38,7 +38,10 @@
1414

1515
<!-- Following must be updated along with any updates to pac4j version. One can find the compatible version of nimbus libraries in org.pac4j:pac4j-oidc dependencies-->
1616
<nimbus.lang.tag.version>1.7</nimbus.lang.tag.version>
1717
- <nimbus.jose.jwt.version>9.37.2</nimbus.jose.jwt.version>
18-
+ <nimbus.jose.jwt.version>9.37.3</nimbus.jose.jwt.version>
18+
+ <!-- A breaking change was introduced in nimbus-jose-jwt 9.0 where net.minidev.json.JSONObject method arguments and return types were replaced, causing errors during OIDC callback:
19+
+ https://github.com/stackabletech/druid-operator/issues/595
20+
+ https://bitbucket.org/connect2id/nimbus-jose-jwt/src/9.0/CHANGELOG.txt -->
21+
+ <nimbus.jose.jwt.version>8.22.1</nimbus.jose.jwt.version>
1922
<oauth2.oidc.sdk.version>8.22</oauth2.oidc.sdk.version>
2023
</properties>
2124

@@ -59,7 +62,7 @@ index 371d2e7673..ad0b874db0 100644
5962
</profile>
6063
</profiles>
6164
diff --git a/pom.xml b/pom.xml
62-
index 38e0ddc61a..73fb14c1fc 100644
65+
index 73fb14c1fc..26b24b8c14 100644
6366
--- a/pom.xml
6467
+++ b/pom.xml
6568
@@ -74,7 +74,7 @@
@@ -71,7 +74,7 @@ index 38e0ddc61a..73fb14c1fc 100644
7174
<apache.curator.version>5.5.0</apache.curator.version>
7275
<apache.kafka.version>3.6.1</apache.kafka.version>
7376
<!-- when updating apache ranger, verify the usage of aws-bundle-sdk vs aws-logs-sdk
74-
@@ -91,25 +91,25 @@
77+
@@ -91,25 +91,28 @@
7578
<calcite.version>1.35.0</calcite.version>
7679
<confluent.version>6.2.12</confluent.version>
7780
<datasketches.version>4.2.0</datasketches.version>
@@ -82,7 +85,10 @@ index 38e0ddc61a..73fb14c1fc 100644
8285
+ <dropwizard.metrics.version>4.2.26</dropwizard.metrics.version>
8386
<errorprone.version>2.20.0</errorprone.version>
8487
- <fastutil.version>8.5.4</fastutil.version>
85-
+ <fastutil.version>8.5.13</fastutil.version>
88+
+ <!-- An additional null check was introduced in fastutils 8.5.7 that breaks data ingestion tasks:
89+
+ https://github.com/stackabletech/druid-operator/issues/595
90+
+ https://github.com/vigna/fastutil/commit/598a4fd064e193be69ea324aa86947477c82ede8 -->
91+
+ <fastutil.version>8.5.6</fastutil.version>
8692
<guava.version>32.0.1-jre</guava.version>
8793
<guice.version>4.1.0</guice.version>
8894
<hamcrest.version>1.3</hamcrest.version>

0 commit comments

Comments
 (0)