Skip to content

Commit 9ad6c4f

Browse files
labrenbesbernauer
andauthored
Add support for Hadoop 3.4.0 (#545)
* add support for hadoop 3.4.0 * fix test definition * Mark 3.3.x as deprecated * add changelog entry --------- Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.tech>
1 parent 37b1f60 commit 9ad6c4f

File tree

8 files changed

+25
-18
lines changed

8 files changed

+25
-18
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- Add support for version `3.4.0` ([#545]).
10+
711
### Fixed
812

913
- Revert changing the getting started script to use the listener class `cluster-internal` ([#492]) ([#493]).
@@ -16,6 +20,7 @@ All notable changes to this project will be documented in this file.
1620
[#517]: https://github.com/stackabletech/hdfs-operator/pull/517
1721
[#534]: https://github.com/stackabletech/hdfs-operator/pull/534
1822
[#536]: https://github.com/stackabletech/hdfs-operator/pull/536
23+
[#545]: https://github.com/stackabletech/hdfs-operator/pull/545
1924

2025
## [24.3.0] - 2024-03-20
2126

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.3.4
8+
productVersion: 3.4.0
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.3.4
8+
productVersion: 3.4.0
99
clusterConfig:
1010
zookeeperConfigMapName: simple-hdfs-znode
1111
dfsReplication: 1

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
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.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. It is therefore recommended to use `3.3.4` until the problem is resolved.
6-
- 3.3.4
5+
- 3.4.0 (LTS)
6+
- 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. It is therefore recommended to use `3.3.4` until the problem is resolved.
7+
- 3.3.4 (deprecated)

rust/crd/src/affinity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ metadata:
5454
name: simple-hdfs
5555
spec:
5656
image:
57-
productVersion: 3.3.6
57+
productVersion: 3.4.0
5858
clusterConfig:
5959
zookeeperConfigMapName: hdfs-zk
6060
journalNodes:

rust/crd/src/lib.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ metadata:
13711371
name: hdfs
13721372
spec:
13731373
image:
1374-
productVersion: 3.3.6
1374+
productVersion: 3.4.0
13751375
clusterConfig:
13761376
zookeeperConfigMapName: hdfs-zk
13771377
dataNodes:
@@ -1406,7 +1406,7 @@ metadata:
14061406
name: hdfs
14071407
spec:
14081408
image:
1409-
productVersion: 3.3.6
1409+
productVersion: 3.4.0
14101410
clusterConfig:
14111411
zookeeperConfigMapName: hdfs-zk
14121412
dataNodes:
@@ -1441,7 +1441,7 @@ metadata:
14411441
name: hdfs
14421442
spec:
14431443
image:
1444-
productVersion: 3.3.6
1444+
productVersion: 3.4.0
14451445
clusterConfig:
14461446
zookeeperConfigMapName: hdfs-zk
14471447
dataNodes:
@@ -1471,7 +1471,7 @@ metadata:
14711471
name: hdfs
14721472
spec:
14731473
image:
1474-
productVersion: 3.3.6
1474+
productVersion: 3.4.0
14751475
clusterConfig:
14761476
zookeeperConfigMapName: hdfs-zk
14771477
rackAwareness:
@@ -1536,7 +1536,7 @@ metadata:
15361536
name: hdfs
15371537
spec:
15381538
image:
1539-
productVersion: 3.3.6
1539+
productVersion: 3.4.0
15401540
clusterConfig:
15411541
zookeeperConfigMapName: hdfs-zk
15421542
dataNodes:
@@ -1592,7 +1592,7 @@ metadata:
15921592
name: hdfs
15931593
spec:
15941594
image:
1595-
productVersion: 3.3.6
1595+
productVersion: 3.4.0
15961596
clusterConfig:
15971597
zookeeperConfigMapName: hdfs-zk
15981598
dataNodes:
@@ -1648,7 +1648,7 @@ metadata:
16481648
name: hdfs
16491649
spec:
16501650
image:
1651-
productVersion: 3.3.6
1651+
productVersion: 3.4.0
16521652
clusterConfig:
16531653
zookeeperConfigMapName: hdfs-zk
16541654
dataNodes:
@@ -1675,7 +1675,7 @@ metadata:
16751675
name: hdfs
16761676
spec:
16771677
image:
1678-
productVersion: 3.3.6
1678+
productVersion: 3.4.0
16791679
clusterConfig:
16801680
zookeeperConfigMapName: hdfs-zk
16811681
rackAwareness:

rust/operator-binary/src/hdfs_controller.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ metadata:
835835
name: hdfs
836836
spec:
837837
image:
838-
productVersion: 3.3.6
838+
productVersion: 3.4.0
839839
clusterConfig:
840840
zookeeperConfigMapName: hdfs-zk
841841
nameNodes:
@@ -868,7 +868,7 @@ properties: []
868868
transform_all_roles_to_config(&hdfs, hdfs.build_role_properties().unwrap()).unwrap();
869869

870870
let validated_config = validate_all_roles_and_groups_config(
871-
"3.3.6",
871+
"3.4.0",
872872
&config,
873873
&ProductConfigManager::from_str(product_config).unwrap(),
874874
false,

tests/test-definition.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ dimensions:
44
values:
55
- 3.3.4
66
- 3.3.6
7+
- 3.4.0
78
- name: hadoop-latest
89
values:
9-
- 3.3.4
10+
- 3.4.0
1011
- name: hadoop-external-client-docker-image
1112
values:
12-
- 3.3.6
13+
- 3.4.0
1314
- name: zookeeper
1415
values:
15-
- 3.8.4
16+
- 3.9.2
1617
- name: zookeeper-latest
1718
values:
1819
- 3.9.2

0 commit comments

Comments
 (0)