Skip to content

Commit 79c901a

Browse files
authored
Adapt tests & docs with 4.0.1 (#579)
* adapt tests & docs with new version * adapted changelog
1 parent 7abce3b commit 79c901a

File tree

11 files changed

+28
-25
lines changed

11 files changed

+28
-25
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ All notable changes to this project will be documented in this file.
1010
- Aggregate emitted Kubernetes events on the CustomResources ([#560]).
1111
- Support configuring JVM arguments ([#572]).
1212
- Support for S3 region ([#574]).
13+
- Support for version `4.0.1` as LTS ([#579]).
1314

1415
### Changed
1516

1617
- Default to OCI for image metadata and product image selection ([#561]).
1718
- Increase default memory reservation to `768Mi` to avoid `OOMKilled` ([#578]).
19+
- Deprecated version `4.0.0` ([#579]).
1820

1921
### Fixed
2022

@@ -31,6 +33,7 @@ All notable changes to this project will be documented in this file.
3133
[#572]: https://github.com/stackabletech/hive-operator/pull/572
3234
[#574]: https://github.com/stackabletech/hive-operator/pull/574
3335
[#578]: https://github.com/stackabletech/hive-operator/pull/578
36+
[#579]: https://github.com/stackabletech/hive-operator/pull/579
3437

3538
## [24.11.1] - 2025-01-10
3639

docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: hive-postgres-s3
66
spec:
77
image:
8-
productVersion: 4.0.0
8+
productVersion: 4.0.1
99
clusterConfig:
1010
database:
1111
connString: jdbc:postgresql://postgresql:5432/hive

docs/modules/hive/examples/getting_started/hive-postgres-s3.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: hive-postgres-s3
66
spec:
77
image:
8-
productVersion: 4.0.0
8+
productVersion: 4.0.1
99
clusterConfig:
1010
database:
1111
connString: jdbc:postgresql://postgresql:5432/hive

docs/modules/hive/pages/usage-guide/database-driver.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ metadata:
142142
name: hive-with-drivers
143143
spec:
144144
image:
145-
productVersion: 4.0.0
145+
productVersion: 4.0.1
146146
clusterConfig:
147147
database:
148148
connString: jdbc:mysql://mysql:3306/hive # <1>
@@ -195,15 +195,15 @@ If you have access to a registry to store custom images, another approach is to
195195
.Copy the driver
196196
[source]
197197
----
198-
FROM oci.stackable.tech/sdp/hive:4.0.0-stackable0.0.0-dev
198+
FROM oci.stackable.tech/sdp/hive:4.0.1-stackable0.0.0-dev
199199
200200
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
201201
----
202202

203203
.Build and tag the image
204204
[source]
205205
----
206-
docker build -f ./Dockerfile -t oci.stackable.tech/sdp/hive:4.0.0-stackable0.0.0-dev-mysql .
206+
docker build -f ./Dockerfile -t oci.stackable.tech/sdp/hive:4.0.1-stackable0.0.0-dev-mysql .
207207
----
208208

209209
.Reference the new path to the driver without the need for using a volume mounted from a PVC
@@ -216,8 +216,8 @@ metadata:
216216
name: hive
217217
spec:
218218
image:
219-
custom: oci.stackable.tech/sdp/hive:4.0.0-stackable0.0.0-dev-mysql # <1>
220-
productVersion: 4.0.0
219+
custom: oci.stackable.tech/sdp/hive:4.0.1-stackable0.0.0-dev-mysql # <1>
220+
productVersion: 4.0.1
221221
clusterConfig:
222222
database:
223223
...

docs/modules/hive/pages/usage-guide/derby-example.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
name: simple-hive-derby
1717
spec:
1818
image:
19-
productVersion: 4.0.0
19+
productVersion: 4.0.1
2020
clusterConfig:
2121
database:
2222
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
@@ -39,7 +39,7 @@ stringData:
3939

4040
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.
4141

42-
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):
42+
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):
4343
[source,bash]
4444
----
4545
helm install minio \
@@ -66,7 +66,7 @@ metadata:
6666
name: simple-hive-derby
6767
spec:
6868
image:
69-
productVersion: 4.0.0
69+
productVersion: 4.0.1
7070
clusterConfig:
7171
database:
7272
connString: jdbc:derby:;databaseName=/stackable/metastore_db;create=true
@@ -143,7 +143,7 @@ metadata:
143143
name: simple-hive-postgres
144144
spec:
145145
image:
146-
productVersion: 4.0.0
146+
productVersion: 4.0.1
147147
clusterConfig:
148148
database:
149149
connString: jdbc:postgresql://hive-postgresql.default.svc.cluster.local:5432/hive

docs/modules/hive/partials/supported-versions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// This is a separate file, since it is used by both the direct Hive-Operator documentation, and the overarching
33
// Stackable Platform documentation.
44

5-
- 3.1.3 (LTS)
6-
- 4.0.0 (experimental)
5+
- 4.0.1 (LTS)
6+
- 3.1.3 (deprecated)

examples/simple-hive-cluster-postgres-s3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
name: simple-hive-postgres
1818
spec:
1919
image:
20-
productVersion: 4.0.0
20+
productVersion: 4.0.1
2121
stackableVersion: 0.0.0-dev
2222
clusterConfig:
2323
database:

examples/simple-hive-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-hive-derby
66
spec:
77
image:
8-
productVersion: 4.0.0
8+
productVersion: 4.0.1
99
stackableVersion: 0.0.0-dev
1010
clusterConfig:
1111
database:

rust/operator-binary/src/config/jvm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ mod tests {
104104
name: simple-hive
105105
spec:
106106
image:
107-
productVersion: 4.0.0
107+
productVersion: 4.0.1
108108
clusterConfig:
109109
database:
110110
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
@@ -139,7 +139,7 @@ mod tests {
139139
name: simple-hive
140140
spec:
141141
image:
142-
productVersion: 4.0.0
142+
productVersion: 4.0.1
143143
clusterConfig:
144144
database:
145145
connString: jdbc:derby:;databaseName=/tmp/hive;create=true

rust/operator-binary/src/crd/affinity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mod tests {
4545
name: simple-hive
4646
spec:
4747
image:
48-
productVersion: 4.0.0
48+
productVersion: 4.0.1
4949
clusterConfig:
5050
database:
5151
connString: jdbc:derby:;databaseName=/tmp/hive;create=true

0 commit comments

Comments
 (0)