Skip to content

Commit efce674

Browse files
committed
feat(trino): Add 481
1 parent d2d9e61 commit efce674

11 files changed

Lines changed: 150 additions & 18 deletions

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ All notable changes to this project will be documented in this file.
1212
- nifi: Backport NIFI-15901 to 2.x versions ([#1481]).
1313
- testing-tools: Added grpcurl utility ([#1493]).
1414
- opa: Add `1.16.2` ([#1509]).
15-
- kafka: Add `3.9.2` and `4.2.1` ([#1483])
15+
- kafka: Add `3.9.2` and `4.2.1` ([#1483]).
16+
- trino: Add `481` ([#XXXX]).
1617

1718
### Changed
1819

@@ -48,6 +49,7 @@ All notable changes to this project will be documented in this file.
4849
[#1509]: https://github.com/stackabletech/docker-images/pull/1509
4950
[#1510]: https://github.com/stackabletech/docker-images/pull/1510
5051
[#1512]: https://github.com/stackabletech/docker-images/pull/1512
52+
[#XXXX]: https://github.com/stackabletech/docker-images/pull/XXXX
5153

5254
## [26.3.0] - 2026-03-16
5355

trino/airlift/boil-config.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[versions."361".local-images]
2-
java-devel = "24"
2+
java-devel = "24" # Same version as Trino 477
33

44
[versions."386".local-images]
5-
java-devel = "25"
5+
java-devel = "25" # Same version as Trino 479
6+
7+
[versions."424".local-images]
8+
java-devel = "25" # Same version as Trino 481
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
From 359fe4dbf5154df20701cea742177bd874949009 Mon Sep 17 00:00:00 2001
2+
From: Lukas Krug <lukas.krug@stackable.tech>
3+
Date: Wed, 27 May 2026 21:58:48 +0200
4+
Subject: Apply max response header size to Jetty maxResponseHeaderSize
5+
6+
---
7+
.../src/main/java/io/airlift/http/server/HttpServer.java | 2 +-
8+
.../src/main/java/io/airlift/http/server/HttpServerConfig.java | 1 +
9+
2 files changed, 2 insertions(+), 1 deletion(-)
10+
11+
diff --git a/http-server/src/main/java/io/airlift/http/server/HttpServer.java b/http-server/src/main/java/io/airlift/http/server/HttpServer.java
12+
index 49a7de9374..fe3fa345aa 100644
13+
--- a/http-server/src/main/java/io/airlift/http/server/HttpServer.java
14+
+++ b/http-server/src/main/java/io/airlift/http/server/HttpServer.java
15+
@@ -204,7 +204,7 @@ public class HttpServer
16+
baseHttpConfiguration.setRequestHeaderSize(toIntExact(config.getMaxRequestHeaderSize().toBytes()));
17+
}
18+
if (config.getMaxResponseHeaderSize() != null) {
19+
- baseHttpConfiguration.setResponseHeaderSize(toIntExact(config.getMaxResponseHeaderSize().toBytes()));
20+
+ baseHttpConfiguration.setMaxResponseHeaderSize(toIntExact(config.getMaxResponseHeaderSize().toBytes()));
21+
}
22+
if (config.getOutputBufferSize() != null) {
23+
baseHttpConfiguration.setOutputBufferSize(toIntExact(config.getOutputBufferSize().toBytes()));
24+
diff --git a/http-server/src/main/java/io/airlift/http/server/HttpServerConfig.java b/http-server/src/main/java/io/airlift/http/server/HttpServerConfig.java
25+
index ee53d470f6..3abbfeaabb 100644
26+
--- a/http-server/src/main/java/io/airlift/http/server/HttpServerConfig.java
27+
+++ b/http-server/src/main/java/io/airlift/http/server/HttpServerConfig.java
28+
@@ -387,6 +387,7 @@ public class HttpServerConfig
29+
return this;
30+
}
31+
32+
+ @MaxDataSize("1GB")
33+
public DataSize getMaxResponseHeaderSize()
34+
{
35+
return maxResponseHeaderSize;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mirror = "https://github.com/stackabletech/airlift.git"
2+
base = "9714f9095cea760f8a195f15c44a7f4f909ff23c"

trino/boil-config.toml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,25 @@
22
"oci.stackable.tech" = { namespace = "sdp" }
33

44
[versions."477".local-images]
5-
java-base = "24"
5+
java-base = "24" # https://trino.io/docs/477/installation/deployment.html#java-runtime-environment
66
"trino/trino" = "477"
77
"trino/storage-connector" = "477"
88

99
[versions."477".build-arguments]
1010
jmx-exporter-version = "1.3.0"
1111

1212
[versions."479".local-images]
13-
java-base = "25"
13+
java-base = "25" # https://trino.io/docs/479/installation/deployment.html#java-runtime-environment states 24, but the docs are wrong: https://github.com/trinodb/trino/commit/1ddb0f9976fcd9917aaf0b689ca0acc8635e24f1
1414
"trino/trino" = "479"
15-
"trino/storage-connector" = "477"
16-
# There is no 479 connector yet
17-
# "trino/storage-connector" = "479"
15+
"trino/storage-connector" = "477" # There is no 479 connector (yet?)
1816

1917
[versions."479".build-arguments]
2018
jmx-exporter-version = "1.3.0"
19+
20+
[versions."481".local-images]
21+
java-base = "25" # https://trino.io/docs/481/installation/deployment.html#java-runtime-environment
22+
"trino/trino" = "481"
23+
"trino/storage-connector" = "477" # There is no 481 connector (yet?)
24+
25+
[versions."481".build-arguments]
26+
jmx-exporter-version = "1.3.0"

trino/trino/boil-config.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[versions."477".local-images]
2-
java-devel = "24"
3-
# Airlift version comes from <dep.airlift.version> in
4-
# https://github.com/trinodb/trino/blob/477/pom.xml
5-
"trino/airlift" = "361"
2+
java-devel = "24" # Same version as the "trino" image
3+
"trino/airlift" = "361" # https://github.com/trinodb/trino/blob/477/pom.xml#L184
64

75
[versions."479".local-images]
8-
java-devel = "25"
9-
# Airlift version comes from <dep.airlift.version> in
10-
# https://github.com/trinodb/trino/blob/479/pom.xml
11-
"trino/airlift" = "386"
6+
java-devel = "25" # Same version as the "trino" image
7+
"trino/airlift" = "386" # https://github.com/trinodb/trino/blob/479/pom.xml#L185
8+
9+
[versions."481".local-images]
10+
java-devel = "25" # Same version as the "trino" image
11+
"trino/airlift" = "424" # https://github.com/trinodb/trino/blob/481/pom.xml#L188

trino/trino/stackable/patches/477/0002-Disable-web-ui-code-checking-because-flow-v0.241.0-f.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ From 5800f14ed19ffaafb7286b5b17639a5df806c1c6 Mon Sep 17 00:00:00 2001
22
From: dervoeti <lukas.krug@stackable.tech>
33
Date: Wed, 18 Jun 2025 14:05:10 +0200
44
Subject: Disable web-ui code checking, because flow v0.241.0 for non-x86
5-
systems requires glibc 2.35, as of 2025-06-18 our UBI image comes with glibc
5+
systems requires glibc 2.35, as of 2026-06-02 our UBI image comes with glibc
66
2.34. This patch can likely be removed once we ship a newer version of glibc.
77

88
---

trino/trino/stackable/patches/479/0002-Disable-web-ui-code-checking-because-flow-v0.241.0-f.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ From 403776233d76994d21fb76c5e3ea89e82afca44e Mon Sep 17 00:00:00 2001
22
From: dervoeti <lukas.krug@stackable.tech>
33
Date: Wed, 18 Jun 2025 14:05:10 +0200
44
Subject: Disable web-ui code checking, because flow v0.241.0 for non-x86
5-
systems requires glibc 2.35, as of 2025-06-18 our UBI image comes with glibc
5+
systems requires glibc 2.35, as of 2026-06-02 our UBI image comes with glibc
66
2.34. This patch can likely be removed once we ship a newer version of glibc.
77

88
---
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From 8a2396b467657c4f6fefc6a213148af062d45064 Mon Sep 17 00:00:00 2001
2+
From: Lukas Voetmand <lukas.voetmand@stackable.tech>
3+
Date: Fri, 6 Sep 2024 17:53:52 +0200
4+
Subject: Add CycloneDX plugin
5+
6+
---
7+
pom.xml | 18 ++++++++++++++++++
8+
1 file changed, 18 insertions(+)
9+
10+
diff --git a/pom.xml b/pom.xml
11+
index 06089658e13..64211354c06 100644
12+
--- a/pom.xml
13+
+++ b/pom.xml
14+
@@ -2841,6 +2841,24 @@
15+
</excludes>
16+
</configuration>
17+
</plugin>
18+
+ <plugin>
19+
+ <groupId>org.cyclonedx</groupId>
20+
+ <artifactId>cyclonedx-maven-plugin</artifactId>
21+
+ <version>2.9.1</version>
22+
+ <configuration>
23+
+ <projectType>application</projectType>
24+
+ <schemaVersion>1.6</schemaVersion>
25+
+ <skipNotDeployed>false</skipNotDeployed>
26+
+ </configuration>
27+
+ <executions>
28+
+ <execution>
29+
+ <goals>
30+
+ <goal>makeBom</goal>
31+
+ </goals>
32+
+ <phase>package</phase>
33+
+ </execution>
34+
+ </executions>
35+
+ </plugin>
36+
</plugins>
37+
</build>
38+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
From 25c453b54fcf184934d3057d4f57606ddf8594ea Mon Sep 17 00:00:00 2001
2+
From: dervoeti <lukas.krug@stackable.tech>
3+
Date: Wed, 18 Jun 2025 14:05:10 +0200
4+
Subject: Disable web-ui code checking, because flow v0.241.0 for non-x86
5+
systems requires glibc 2.35, as of 2026-06-02 our UBI image comes with glibc
6+
2.34. This patch can likely be removed once we ship a newer version of glibc.
7+
8+
---
9+
core/trino-web-ui/pom.xml | 22 ----------------------
10+
1 file changed, 22 deletions(-)
11+
12+
diff --git a/core/trino-web-ui/pom.xml b/core/trino-web-ui/pom.xml
13+
index 986d69101b2..3eb18fc3a2d 100644
14+
--- a/core/trino-web-ui/pom.xml
15+
+++ b/core/trino-web-ui/pom.xml
16+
@@ -104,28 +104,6 @@
17+
<workingDirectory>src/main/resources/webapp/src</workingDirectory>
18+
</configuration>
19+
</execution>
20+
- <execution>
21+
- <id>check (webapp)</id>
22+
- <goals>
23+
- <goal>npm</goal>
24+
- </goals>
25+
- <phase>verify</phase>
26+
- <configuration>
27+
- <arguments>run ${frontend.check.goal}</arguments>
28+
- <workingDirectory>src/main/resources/webapp/src</workingDirectory>
29+
- </configuration>
30+
- </execution>
31+
- <execution>
32+
- <id>check (webapp-preview)</id>
33+
- <goals>
34+
- <goal>npm</goal>
35+
- </goals>
36+
- <phase>verify</phase>
37+
- <configuration>
38+
- <arguments>run ${frontend.check.goal}</arguments>
39+
- <workingDirectory>src/main/resources/webapp-preview</workingDirectory>
40+
- </configuration>
41+
- </execution>
42+
<execution>
43+
<id>package (webapp-preview)</id>
44+
<goals>

0 commit comments

Comments
 (0)