diff --git a/CHANGELOG.md b/CHANGELOG.md index 98795541..8f0d5068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,11 +10,13 @@ All notable changes to this project will be documented in this file. - Aggregate emitted Kubernetes events on the CustomResources ([#560]). - Support configuring JVM arguments ([#572]). - Support for S3 region ([#574]). +- Support for version `4.0.1` as LTS ([#579]). ### Changed - Default to OCI for image metadata and product image selection ([#561]). - Increase default memory reservation to `768Mi` to avoid `OOMKilled` ([#578]). +- Deprecated version `4.0.0` ([#579]). ### Fixed @@ -31,6 +33,7 @@ All notable changes to this project will be documented in this file. [#572]: https://github.com/stackabletech/hive-operator/pull/572 [#574]: https://github.com/stackabletech/hive-operator/pull/574 [#578]: https://github.com/stackabletech/hive-operator/pull/578 +[#579]: https://github.com/stackabletech/hive-operator/pull/579 ## [24.11.1] - 2025-01-10 diff --git a/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml b/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml index 9ee5f617..75aef539 100644 --- a/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml +++ b/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml @@ -5,7 +5,7 @@ metadata: name: hive-postgres-s3 spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:postgresql://postgresql:5432/hive diff --git a/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml.j2 b/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml.j2 index 9ee5f617..75aef539 100644 --- a/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml.j2 +++ b/docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml.j2 @@ -5,7 +5,7 @@ metadata: name: hive-postgres-s3 spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:postgresql://postgresql:5432/hive diff --git a/docs/modules/hive/pages/usage-guide/database-driver.adoc b/docs/modules/hive/pages/usage-guide/database-driver.adoc index 393b40e2..be9a6188 100644 --- a/docs/modules/hive/pages/usage-guide/database-driver.adoc +++ b/docs/modules/hive/pages/usage-guide/database-driver.adoc @@ -142,7 +142,7 @@ metadata: name: hive-with-drivers spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:mysql://mysql:3306/hive # <1> @@ -195,7 +195,7 @@ If you have access to a registry to store custom images, another approach is to .Copy the driver [source] ---- -FROM oci.stackable.tech/sdp/hive:4.0.0-stackable0.0.0-dev +FROM oci.stackable.tech/sdp/hive:4.0.1-stackable0.0.0-dev RUN curl --fail -L https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.31/mysql-connector-j-8.0.31.jar -o /stackable/mysql-connector-j-8.0.31.jar ---- @@ -203,7 +203,7 @@ RUN curl --fail -L https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8. .Build and tag the image [source] ---- -docker build -f ./Dockerfile -t oci.stackable.tech/sdp/hive:4.0.0-stackable0.0.0-dev-mysql . +docker build -f ./Dockerfile -t oci.stackable.tech/sdp/hive:4.0.1-stackable0.0.0-dev-mysql . ---- .Reference the new path to the driver without the need for using a volume mounted from a PVC @@ -216,8 +216,8 @@ metadata: name: hive spec: image: - custom: oci.stackable.tech/sdp/hive:4.0.0-stackable0.0.0-dev-mysql # <1> - productVersion: 4.0.0 + custom: oci.stackable.tech/sdp/hive:4.0.1-stackable0.0.0-dev-mysql # <1> + productVersion: 4.0.1 clusterConfig: database: ... diff --git a/docs/modules/hive/pages/usage-guide/derby-example.adoc b/docs/modules/hive/pages/usage-guide/derby-example.adoc index 7ad5acea..7d7a51a8 100644 --- a/docs/modules/hive/pages/usage-guide/derby-example.adoc +++ b/docs/modules/hive/pages/usage-guide/derby-example.adoc @@ -16,7 +16,7 @@ metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true @@ -39,7 +39,7 @@ stringData: WARNING: You should not use the `Derby` database in production. Derby stores data locally which does not work in high availability setups (multiple replicas) and all data is lost after Pod restarts. -To create a single node Apache Hive Metastore (v4.0.0) cluster with derby and S3 access, deploy a minio (or use any available S3 bucket): +To create a single node Apache Hive Metastore (v4.0.1) cluster with derby and S3 access, deploy a minio (or use any available S3 bucket): [source,bash] ---- helm install minio \ @@ -66,7 +66,7 @@ metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:derby:;databaseName=/stackable/metastore_db;create=true @@ -143,7 +143,7 @@ metadata: name: simple-hive-postgres spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:postgresql://hive-postgresql.default.svc.cluster.local:5432/hive diff --git a/docs/modules/hive/partials/supported-versions.adoc b/docs/modules/hive/partials/supported-versions.adoc index ec56e788..6e4031bc 100644 --- a/docs/modules/hive/partials/supported-versions.adoc +++ b/docs/modules/hive/partials/supported-versions.adoc @@ -2,5 +2,5 @@ // This is a separate file, since it is used by both the direct Hive-Operator documentation, and the overarching // Stackable Platform documentation. -- 3.1.3 (LTS) -- 4.0.0 (experimental) +- 4.0.1 (LTS) +- 3.1.3 (deprecated) diff --git a/examples/simple-hive-cluster-postgres-s3.yaml b/examples/simple-hive-cluster-postgres-s3.yaml index 685cf3a0..919284c3 100644 --- a/examples/simple-hive-cluster-postgres-s3.yaml +++ b/examples/simple-hive-cluster-postgres-s3.yaml @@ -17,7 +17,7 @@ metadata: name: simple-hive-postgres spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 stackableVersion: 0.0.0-dev clusterConfig: database: diff --git a/examples/simple-hive-cluster.yaml b/examples/simple-hive-cluster.yaml index d2df618b..ecec5de1 100644 --- a/examples/simple-hive-cluster.yaml +++ b/examples/simple-hive-cluster.yaml @@ -5,7 +5,7 @@ metadata: name: simple-hive-derby spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 stackableVersion: 0.0.0-dev clusterConfig: database: diff --git a/rust/operator-binary/src/config/jvm.rs b/rust/operator-binary/src/config/jvm.rs index 619b381b..44d7f916 100644 --- a/rust/operator-binary/src/config/jvm.rs +++ b/rust/operator-binary/src/config/jvm.rs @@ -104,7 +104,7 @@ mod tests { name: simple-hive spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/hive;create=true @@ -139,7 +139,7 @@ mod tests { name: simple-hive spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/hive;create=true diff --git a/rust/operator-binary/src/crd/affinity.rs b/rust/operator-binary/src/crd/affinity.rs index 379f7c22..5da90399 100644 --- a/rust/operator-binary/src/crd/affinity.rs +++ b/rust/operator-binary/src/crd/affinity.rs @@ -45,7 +45,7 @@ mod tests { name: simple-hive spec: image: - productVersion: 4.0.0 + productVersion: 4.0.1 clusterConfig: database: connString: jdbc:derby:;databaseName=/tmp/hive;create=true diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 7576392a..4b17bf3f 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -17,28 +17,28 @@ dimensions: - name: hive values: - 3.1.3 - - 4.0.0 + - 4.0.1 # Alternatively, if you want to use a custom image, append a comma and the full image name to the product version # as in the example below. - # - 4.0.0,oci.stackable.tech/sandbox/hive:4.0.0-stackable0.0.0-dev + # - 4.0.1,oci.stackable.tech/sandbox/hive:4.0.1-stackable0.0.0-dev - name: hive-latest values: - - 4.0.0 + - 4.0.1 # Alternatively, if you want to use a custom image, append a comma and the full image name to the product version # as in the example below. - # - 4.0.0,oci.stackable.tech/sandbox/hive:4.0.0-stackable0.0.0-dev + # - 4.0.1,oci.stackable.tech/sandbox/hive:4.0.1-stackable0.0.0-dev - name: hive-old values: - 3.1.3 - name: hive-new values: - - 4.0.0 + - 4.0.1 - name: hdfs-latest values: - - 3.4.0 + - 3.4.1 - name: zookeeper-latest values: - - 3.9.2 + - 3.9.3 - name: krb5 values: - 1.21.1