Skip to content

Commit ed49575

Browse files
maltesanderadwk67
andauthored
Update test and doc versions (#656)
* update test and doc versions * adapt changelog * revert test zk version changes * Update CHANGELOG.md Co-authored-by: Andrew Kenworthy <[email protected]> * update custom images * mark 3.3.4/6 deprecated --------- Co-authored-by: Andrew Kenworthy <[email protected]>
1 parent cae9511 commit ed49575

File tree

9 files changed

+27
-23
lines changed

9 files changed

+27
-23
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
1111
- Run a `containerdebug` process in the background of each HDFS container to collect debugging information ([#629]).
1212
- Support configuring JVM arguments ([#636]).
1313
- Aggregate emitted Kubernetes events on the CustomResources ([#643]).
14+
- Add support for version `3.4.1` ([#656]).
1415

1516
### Changed
1617

@@ -27,6 +28,7 @@ All notable changes to this project will be documented in this file.
2728
[#640]: https://github.com/stackabletech/hdfs-operator/pull/640
2829
[#643]: https://github.com/stackabletech/hdfs-operator/pull/643
2930
[#655]: https://github.com/stackabletech/hdfs-operator/pull/655
31+
[#656]: https://github.com/stackabletech/hdfs-operator/pull/656
3032

3133
## [24.11.1] - 2025-01-10
3234

docs/modules/hdfs/examples/getting_started/hdfs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-hdfs
66
spec:
77
image:
8-
productVersion: 3.4.0
8+
productVersion: 3.4.1
99
clusterConfig:
1010
zookeeperConfigMapName: simple-hdfs-znode
1111
dfsReplication: 1

docs/modules/hdfs/examples/getting_started/hdfs.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-hdfs
66
spec:
77
image:
8-
productVersion: 3.4.0
8+
productVersion: 3.4.1
99
clusterConfig:
1010
zookeeperConfigMapName: simple-hdfs-znode
1111
dfsReplication: 1

docs/modules/hdfs/pages/usage-guide/upgrading.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
IMPORTANT: HDFS upgrades are experimental, and details may change at any time.
55

66
HDFS currently requires a manual process to upgrade.
7-
This guide takes you through an example case, upgrading an example cluster (from our xref:getting_started/index.adoc[Getting Started] guide) from HDFS 3.3.6 to 3.4.0.
7+
This guide takes you through an example case, upgrading an example cluster (from our xref:getting_started/index.adoc[Getting Started] guide) from HDFS 3.3.6 to 3.4.1.
88

99
== Preparing for the worst
1010

1111
Upgrades can fail, and it is important to prepare for when that happens.
12-
Apache HDFS supports https://hadoop.apache.org/docs/r3.4.0/hadoop-project-dist/hadoop-hdfs/HdfsRollingUpgrade.html#Downgrade_and_Rollback[two ways to revert an upgrade]:
12+
Apache HDFS supports https://hadoop.apache.org/docs/r3.4.1/hadoop-project-dist/hadoop-hdfs/HdfsRollingUpgrade.html#Downgrade_and_Rollback[two ways to revert an upgrade]:
1313

1414
Rollback:: Reverts all user data to the pre-upgrade state. Requires taking the cluster offline.
1515
Downgrade:: Downgrades the HDFS software but preserves all changes made by users. Can be performed as a rolling change, keeping the cluster online.
@@ -69,7 +69,7 @@ Once HDFS is ready to upgrade, the HdfsCluster can be updated with the new produ
6969

7070
[source,shell]
7171
----
72-
$ kubectl patch hdfs/simple-hdfs --patch '{"spec": {"image": {"productVersion": "3.4.0"}}}' --type=merge
72+
$ kubectl patch hdfs/simple-hdfs --patch '{"spec": {"image": {"productVersion": "3.4.1"}}}' --type=merge
7373
hdfscluster.hdfs.stackable.tech/simple-hdfs patched
7474
----
7575

@@ -103,7 +103,7 @@ Finally, mark the cluster as upgraded:
103103

104104
[source,shell]
105105
----
106-
$ kubectl patch hdfs/simple-hdfs --subresource=status --patch '{"status": {"deployedProductVersion": "3.4.0"}}' --type=merge
106+
$ kubectl patch hdfs/simple-hdfs --subresource=status --patch '{"status": {"deployedProductVersion": "3.4.1"}}' --type=merge
107107
hdfscluster.hdfs.stackable.tech/simple-hdfs patched
108108
----
109109

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

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

5-
- 3.4.0 (LTS)
6-
- 3.3.6 - Please note that there is a https://github.com/stackabletech/hdfs-operator/issues/440[known issue] related to NameNode bootstrapping which can happen in rare cases.
7-
- 3.3.4
5+
- 3.4.1 (LTS)
6+
- 3.4.0 (deprecated)
7+
- 3.3.6 (deprecated) - Please note that there is a https://github.com/stackabletech/hdfs-operator/issues/440[known issue] related to NameNode bootstrapping which can happen in rare cases.
8+
- 3.3.4 (deprecated)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ mod tests {
121121
name: hdfs
122122
spec:
123123
image:
124-
productVersion: 3.4.0
124+
productVersion: 3.4.1
125125
clusterConfig:
126126
zookeeperConfigMapName: hdfs-zk
127127
nameNodes:
@@ -149,7 +149,7 @@ mod tests {
149149
name: hdfs
150150
spec:
151151
image:
152-
productVersion: 3.4.0
152+
productVersion: 3.4.1
153153
clusterConfig:
154154
zookeeperConfigMapName: hdfs-zk
155155
nameNodes:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ metadata:
5555
name: simple-hdfs
5656
spec:
5757
image:
58-
productVersion: 3.4.0
58+
productVersion: 3.4.1
5959
clusterConfig:
6060
zookeeperConfigMapName: hdfs-zk
6161
journalNodes:

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ metadata:
15081508
name: hdfs
15091509
spec:
15101510
image:
1511-
productVersion: 3.4.0
1511+
productVersion: 3.4.1
15121512
clusterConfig:
15131513
zookeeperConfigMapName: hdfs-zk
15141514
dataNodes:
@@ -1543,7 +1543,7 @@ metadata:
15431543
name: hdfs
15441544
spec:
15451545
image:
1546-
productVersion: 3.4.0
1546+
productVersion: 3.4.1
15471547
clusterConfig:
15481548
zookeeperConfigMapName: hdfs-zk
15491549
dataNodes:
@@ -1578,7 +1578,7 @@ metadata:
15781578
name: hdfs
15791579
spec:
15801580
image:
1581-
productVersion: 3.4.0
1581+
productVersion: 3.4.1
15821582
clusterConfig:
15831583
zookeeperConfigMapName: hdfs-zk
15841584
dataNodes:
@@ -1608,7 +1608,7 @@ metadata:
16081608
name: hdfs
16091609
spec:
16101610
image:
1611-
productVersion: 3.4.0
1611+
productVersion: 3.4.1
16121612
clusterConfig:
16131613
zookeeperConfigMapName: hdfs-zk
16141614
rackAwareness:
@@ -1673,7 +1673,7 @@ metadata:
16731673
name: hdfs
16741674
spec:
16751675
image:
1676-
productVersion: 3.4.0
1676+
productVersion: 3.4.1
16771677
clusterConfig:
16781678
zookeeperConfigMapName: hdfs-zk
16791679
dataNodes:
@@ -1729,7 +1729,7 @@ metadata:
17291729
name: hdfs
17301730
spec:
17311731
image:
1732-
productVersion: 3.4.0
1732+
productVersion: 3.4.1
17331733
clusterConfig:
17341734
zookeeperConfigMapName: hdfs-zk
17351735
dataNodes:
@@ -1785,7 +1785,7 @@ metadata:
17851785
name: hdfs
17861786
spec:
17871787
image:
1788-
productVersion: 3.4.0
1788+
productVersion: 3.4.1
17891789
clusterConfig:
17901790
zookeeperConfigMapName: hdfs-zk
17911791
dataNodes:
@@ -1812,7 +1812,7 @@ metadata:
18121812
name: hdfs
18131813
spec:
18141814
image:
1815-
productVersion: 3.4.0
1815+
productVersion: 3.4.1
18161816
clusterConfig:
18171817
zookeeperConfigMapName: hdfs-zk
18181818
rackAwareness:

tests/test-definition.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ dimensions:
55
- 3.3.4
66
- 3.3.6
77
- 3.4.0
8+
- 3.4.1
89
# To use a custom image, add a comma and the full name after the product version
9-
# - 3.4.0,oci.stackable.tech/sandbox/hadoop:3.4.0-stackable0.0.0-dev
10+
# - 3.4.1,oci.stackable.tech/sandbox/hadoop:3.4.1-stackable0.0.0-dev
1011
- name: hadoop-latest
1112
values:
12-
- 3.4.0
13+
- 3.4.1
1314
# To use a custom image, add a comma and the full name after the product version
14-
# - 3.4.0,oci.stackable.tech/sandbox/hadoop:3.4.0-stackable0.0.0-dev
15+
# - 3.4.1,oci.stackable.tech/sandbox/hadoop:3.4.1-stackable0.0.0-dev
1516
- name: hadoop-external-client-docker-image
1617
values:
1718
- 3.3.6

0 commit comments

Comments
 (0)