Skip to content

Commit 4ecea47

Browse files
dervoetinightkr
andauthored
feat(druid): Add version 31.0.1 and 30.0.1, drop 26.0.0, bump druid-opa-authorizer to 0.6.0 (#984)
* feat(druid): Add version 31.0.1 * chore: bump opa-authorizer to 0.6.0 * fix: changelog * drop druid 26 / add 30.0.1 * Convert Druid 30.0.1 patches to patchable * Convert Druid 31.0.1 patches to patchable --------- Co-authored-by: Natalie Klestrup Röijezon <[email protected]>
1 parent 9f505c4 commit 4ecea47

27 files changed

+776
-211
lines changed

CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
1515
util-linux-core contains a basic set of Linux utilities, including the
1616
command logger which allows to enter messages into the system log.
1717
- vector: Add version 0.43.1 ([#980]).
18+
- druid: Add version 30.0.1 and 31.0.1 ([#984])
1819
- opa: Add version 1.0.1 ([#981], [#1000]).
1920
- statsd-exporter: Bump version to 0.28.0 ([#982]).
2021
- git-sync: Bump version to 4.4.0 ([#990]).
@@ -36,7 +37,7 @@ All notable changes to this project will be documented in this file.
3637
- kafka: Bump 3.8.0 to 3.8.1 ([#995]).
3738
- Update registry references to oci ([#989]).
3839
- trino-storage-connector: Move the build out of trino/ for easier patching ([#996]).
39-
- druid 26.0.0: Migrate to patchable ([#1003]).
40+
- BREAKING: druid: Bump opa-authorizer to 0.6.0 for all versions ([#984])
4041

4142
### Removed
4243

@@ -47,6 +48,7 @@ All notable changes to this project will be documented in this file.
4748
- trino-cli: Remove version 469 ([#999]).
4849
- trino-storage-connector: Remove version 469 ([#999]).
4950
- nifi: Remove 2.0.0 ([#1006]).
51+
- druid: Remove 26.0.0 ([#984])
5052

5153
### Fixed
5254

@@ -66,9 +68,10 @@ All notable changes to this project will be documented in this file.
6668
[#980]: https://github.com/stackabletech/docker-images/pull/980
6769
[#981]: https://github.com/stackabletech/docker-images/pull/981
6870
[#982]: https://github.com/stackabletech/docker-images/pull/982
71+
[#984]: https://github.com/stackabletech/docker-images/pull/984
72+
[#988]: https://github.com/stackabletech/docker-images/pull/988
6973
[#989]: https://github.com/stackabletech/docker-images/pull/989
7074
[#990]: https://github.com/stackabletech/docker-images/pull/990
71-
[#988]: https://github.com/stackabletech/docker-images/pull/988
7275
[#991]: https://github.com/stackabletech/docker-images/pull/991
7376
[#992]: https://github.com/stackabletech/docker-images/pull/992
7477
[#993]: https://github.com/stackabletech/docker-images/pull/993

druid/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN <<EOF
1818
microdnf update
1919

2020
# python-pyyaml:
21-
# This note was last checked for version 30.0.0
21+
# This note was last checked for version 31.0.1
2222
# Required for the compilation of Druid.
2323
# This requirement is documented in docs/development/build.md and version 5.1 or later is required.
2424
# UBI 9 ships with 5.4.x so that should be fine

druid/stackable/patches/26.0.0/0004-Updates-all-dependencies-that-have-a-new-patch-relea.patch

-134
This file was deleted.

druid/stackable/patches/26.0.0/patchable.toml

-2
This file was deleted.

druid/stackable/patches/26.0.0/0001-Removes-all-traces-of-the-druid-ranger-extension.patch renamed to druid/stackable/patches/30.0.1/0001-Removes-all-traces-of-the-druid-ranger-extension.patch

+7-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
From 098e0333cb3977164c62ab0f29aafaf9b1ac6c7c Mon Sep 17 00:00:00 2001
1+
From 1f18905f78c9c46c7c12c1d705547f00ddbfa1ab Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
33
Date: Wed, 10 Jul 2024 17:07:13 +0200
44
Subject: Removes all traces of the druid ranger extension
55

66
---
7-
distribution/pom.xml | 4 ----
7+
distribution/pom.xml | 2 --
88
pom.xml | 1 -
9-
2 files changed, 5 deletions(-)
9+
2 files changed, 3 deletions(-)
1010

1111
diff --git a/distribution/pom.xml b/distribution/pom.xml
12-
index eec26171af..a6e72cf2c2 100644
12+
index 1ebfa31f84..9c2cfc8753 100644
1313
--- a/distribution/pom.xml
1414
+++ b/distribution/pom.xml
15-
@@ -255,8 +255,6 @@
15+
@@ -252,8 +252,6 @@
1616
<argument>-c</argument>
1717
<argument>org.apache.druid.extensions:druid-pac4j</argument>
1818
<argument>-c</argument>
@@ -21,20 +21,11 @@ index eec26171af..a6e72cf2c2 100644
2121
<argument>org.apache.druid.extensions:druid-kubernetes-extensions</argument>
2222
<argument>-c</argument>
2323
<argument>org.apache.druid.extensions:druid-catalog</argument>
24-
@@ -439,8 +437,6 @@
25-
<argument>-c</argument>
26-
<argument>org.apache.druid.extensions:druid-pac4j</argument>
27-
<argument>-c</argument>
28-
- <argument>org.apache.druid.extensions:druid-ranger-security</argument>
29-
- <argument>-c</argument>
30-
<argument>org.apache.druid.extensions:druid-kubernetes-extensions</argument>
31-
<argument>${druid.distribution.pulldeps.opts}</argument>
32-
</arguments>
3324
diff --git a/pom.xml b/pom.xml
34-
index 0c6294f5ed..a33c6bd521 100644
25+
index 17cd202ea6..08a3f24210 100644
3526
--- a/pom.xml
3627
+++ b/pom.xml
37-
@@ -186,7 +186,6 @@
28+
@@ -198,7 +198,6 @@
3829
<module>extensions-core/simple-client-sslcontext</module>
3930
<module>extensions-core/druid-basic-security</module>
4031
<module>extensions-core/google-extensions</module>

druid/stackable/patches/26.0.0/0002-Include-Prometheus-emitter-in-distribution.patch renamed to druid/stackable/patches/30.0.1/0002-Include-Prometheus-emitter-in-distribution.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
From cb547abec8bb002984bcb598c75f5031ea9513e1 Mon Sep 17 00:00:00 2001
1+
From b449a870c7cf546117aba0a64c1b1487e036ab14 Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
3-
Date: Wed, 10 Jul 2024 17:07:13 +0200
3+
Date: Mon, 17 Feb 2025 16:42:34 +0100
44
Subject: Include Prometheus emitter in distribution
55

66
---
77
distribution/pom.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++
88
1 file changed, 46 insertions(+)
99

1010
diff --git a/distribution/pom.xml b/distribution/pom.xml
11-
index a6e72cf2c2..3ab13d5d11 100644
11+
index 9c2cfc8753..08b4121287 100644
1212
--- a/distribution/pom.xml
1313
+++ b/distribution/pom.xml
14-
@@ -637,6 +637,52 @@
14+
@@ -464,6 +464,52 @@
1515
</plugins>
1616
</build>
1717
</profile>
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
From 2722e90c01f02f804f1030f6aa91d07638e5e0a3 Mon Sep 17 00:00:00 2001
1+
From 087a8e2324d938871c012097446f106daba7d6a7 Mon Sep 17 00:00:00 2001
22
From: Lars Francke <[email protected]>
3-
Date: Thu, 12 Dec 2024 17:59:17 +0100
3+
Date: Mon, 17 Feb 2025 16:42:34 +0100
44
Subject: Stop building unused extensions.
55

66
By default Druid builds all community extensions and then discards them
77
while assembling the final distribution. This patch removes unused
88
extensions from the build.
99
---
10-
pom.xml | 32 ++++----------------------------
11-
1 file changed, 4 insertions(+), 28 deletions(-)
10+
pom.xml | 32 +-------------------------------
11+
1 file changed, 1 insertion(+), 31 deletions(-)
1212

1313
diff --git a/pom.xml b/pom.xml
14-
index a33c6bd521..f5001910e1 100644
14+
index 08a3f24210..e8585349f4 100644
1515
--- a/pom.xml
1616
+++ b/pom.xml
17-
@@ -188,34 +188,10 @@
17+
@@ -200,39 +200,9 @@
1818
<module>extensions-core/google-extensions</module>
1919
<module>extensions-core/druid-catalog</module>
2020
<module>extensions-core/testing-tools</module>
@@ -41,31 +41,17 @@ index a33c6bd521..f5001910e1 100644
4141
- <module>extensions-contrib/momentsketch</module>
4242
- <module>extensions-contrib/moving-average-query</module>
4343
- <module>extensions-contrib/tdigestsketch</module>
44+
- <module>extensions-contrib/ddsketch</module>
4445
- <module>extensions-contrib/influxdb-emitter</module>
4546
- <module>extensions-contrib/gce-extensions</module>
4647
- <module>extensions-contrib/aliyun-oss-extensions</module>
4748
<module>extensions-contrib/prometheus-emitter</module>
4849
- <module>extensions-contrib/opentelemetry-emitter</module>
4950
- <module>extensions-contrib/kubernetes-overlord-extensions</module>
50-
+
51+
- <module>extensions-contrib/druid-iceberg-extensions</module>
52+
- <module>extensions-contrib/druid-deltalake-extensions</module>
53+
- <module>extensions-contrib/spectator-histogram</module>
54+
- <module>extensions-contrib/rabbit-stream-indexing-service</module>
55+
5156
<!-- distribution packaging -->
5257
<module>distribution</module>
53-
<!-- Revised integration tests -->
54-
@@ -233,7 +209,7 @@
55-
<enabled>false</enabled>
56-
</snapshots>
57-
</repository>
58-
-
59-
+
60-
<!-- Only used by core, but moved to root for parallel build dependency resolution -->
61-
<repository>
62-
<id>sigar</id>
63-
@@ -243,7 +219,7 @@
64-
</snapshots>
65-
</repository>
66-
</repositories>
67-
-
68-
+
69-
<pluginRepositories>
70-
<pluginRepository>
71-
<id>${repoOrgId}</id>

0 commit comments

Comments
 (0)