From 6fa5cfe953d612e941e7d86872a66f5329b7fe5a Mon Sep 17 00:00:00 2001 From: dervoeti Date: Tue, 14 Oct 2025 15:44:09 +0200 Subject: [PATCH 1/2] chore: bump hive to 4.1.0 --- .../examples/usage-guide/trino-insecure.yaml | 16 +++++++++++++--- .../usage-guide/trino-secure-internal-tls.yaml | 14 +++++++++++--- .../usage-guide/trino-secure-tls-only.yaml | 15 ++++++++++++--- .../examples/usage-guide/trino-secure-tls.yaml | 15 ++++++++++++--- ...ster-authentication-opa-authorization-s3.yaml | 2 +- examples/simple-trino-cluster-hive-ha-s3.yaml | 2 +- examples/simple-trino-cluster-s3.yaml | 2 +- examples/simple-trino-cluster.yaml | 2 +- tests/test-definition.yaml | 4 ++-- 9 files changed, 54 insertions(+), 18 deletions(-) diff --git a/docs/modules/trino/examples/usage-guide/trino-insecure.yaml b/docs/modules/trino/examples/usage-guide/trino-insecure.yaml index 874cd6c8..f371d030 100644 --- a/docs/modules/trino/examples/usage-guide/trino-insecure.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-insecure.yaml @@ -31,18 +31,28 @@ spec: default: replicas: 1 --- +apiVersion: v1 +kind: Secret +metadata: + name: hive-credentials +type: Opaque +stringData: + username: APP + password: mine +--- apiVersion: hive.stackable.tech/v1alpha1 kind: HiveCluster metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 + custom: oci.stackable.tech/sdp/hive:4.1.0-stackable0.0.0-dev-amd64 + pullPolicy: IfNotPresent clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true - user: APP - password: mine + credentialsSecret: hive-credentials dbType: derby metastore: roleGroups: diff --git a/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml b/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml index 7939ceb1..88aa88b7 100644 --- a/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml @@ -66,18 +66,26 @@ type: kubernetes.io/opaque stringData: admin: admin --- +apiVersion: v1 +kind: Secret +metadata: + name: hive-credentials +type: Opaque +stringData: + username: APP + password: mine +--- apiVersion: hive.stackable.tech/v1alpha1 kind: HiveCluster metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true - user: APP - password: mine + credentialsSecret: hive-credentials dbType: derby metastore: roleGroups: diff --git a/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml b/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml index 8a5ffa02..a4c50502 100644 --- a/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml @@ -46,18 +46,27 @@ spec: namespace: default autoGenerate: true --- + +apiVersion: v1 +kind: Secret +metadata: + name: hive-credentials +type: Opaque +stringData: + username: APP + password: mine +--- apiVersion: hive.stackable.tech/v1alpha1 kind: HiveCluster metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true - user: APP - password: mine + credentialsSecret: hive-credentials dbType: derby metastore: roleGroups: diff --git a/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml b/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml index 3e178cfc..efa6d9f8 100644 --- a/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml @@ -66,18 +66,27 @@ type: kubernetes.io/opaque stringData: admin: admin --- + +apiVersion: v1 +kind: Secret +metadata: + name: hive-credentials +type: Opaque +stringData: + username: APP + password: mine +--- apiVersion: hive.stackable.tech/v1alpha1 kind: HiveCluster metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true - user: APP - password: mine + credentialsSecret: hive-credentials dbType: derby metastore: roleGroups: diff --git a/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml b/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml index f18d3e29..4777be8e 100644 --- a/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml +++ b/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml @@ -134,7 +134,7 @@ metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true diff --git a/examples/simple-trino-cluster-hive-ha-s3.yaml b/examples/simple-trino-cluster-hive-ha-s3.yaml index f2552060..14e93711 100644 --- a/examples/simple-trino-cluster-hive-ha-s3.yaml +++ b/examples/simple-trino-cluster-hive-ha-s3.yaml @@ -43,7 +43,7 @@ metadata: name: simple-hive spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 clusterConfig: database: connString: jdbc:postgresql://hive-postgresql:5432/hive diff --git a/examples/simple-trino-cluster-s3.yaml b/examples/simple-trino-cluster-s3.yaml index 86d53205..c5e14c45 100644 --- a/examples/simple-trino-cluster-s3.yaml +++ b/examples/simple-trino-cluster-s3.yaml @@ -50,7 +50,7 @@ metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true diff --git a/examples/simple-trino-cluster.yaml b/examples/simple-trino-cluster.yaml index c45e8215..ba6d7471 100644 --- a/examples/simple-trino-cluster.yaml +++ b/examples/simple-trino-cluster.yaml @@ -46,7 +46,7 @@ metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.1.0 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 5d0fe06a..ef553a73 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -32,10 +32,10 @@ dimensions: - name: hive values: - 3.1.3 - - 4.0.1 + - 4.1.0 - name: hive-latest values: - - 4.0.1 + - 4.1.0 - name: opa values: - 1.8.0 From 9870f77521001e0c7c0789eaed37d038e8054452 Mon Sep 17 00:00:00 2001 From: dervoeti Date: Tue, 14 Oct 2025 19:04:07 +0200 Subject: [PATCH 2/2] chore: changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a634586..397420b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. - Support for the client spooling protocol ([#793]). - Helm: Allow Pod `priorityClassName` to be configured ([#798]). - Add support for Trino 477 ([#801]). +- Add support for Hive 4.1.0 ([#805]). ### Changed @@ -34,6 +35,7 @@ All notable changes to this project will be documented in this file. [#796]: https://github.com/stackabletech/trino-operator/pull/796 [#798]: https://github.com/stackabletech/trino-operator/pull/798 [#801]: https://github.com/stackabletech/trino-operator/pull/801 +[#805]: https://github.com/stackabletech/trino-operator/pull/805 ## [25.7.0] - 2025-07-23