|
4 | 4 | IMPORTANT: HDFS upgrades are experimental, and details may change at any time.
|
5 | 5 |
|
6 | 6 | 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.1. |
| 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.2. |
8 | 8 |
|
9 | 9 | == Preparing for the worst
|
10 | 10 |
|
11 | 11 | Upgrades can fail, and it is important to prepare for when that happens.
|
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]: |
| 12 | +Apache HDFS supports https://hadoop.apache.org/docs/r3.4.2/hadoop-project-dist/hadoop-hdfs/HdfsRollingUpgrade.html#Downgrade_and_Rollback[two ways to revert an upgrade]: |
13 | 13 |
|
14 | 14 | Rollback:: Reverts all user data to the pre-upgrade state. Requires taking the cluster offline.
|
15 | 15 | 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
|
69 | 69 |
|
70 | 70 | [source,shell]
|
71 | 71 | ----
|
72 |
| -$ kubectl patch hdfs/simple-hdfs --patch '{"spec": {"image": {"productVersion": "3.4.1"}}}' --type=merge |
| 72 | +$ kubectl patch hdfs/simple-hdfs --patch '{"spec": {"image": {"productVersion": "3.4.2"}}}' --type=merge |
73 | 73 | hdfscluster.hdfs.stackable.tech/simple-hdfs patched
|
74 | 74 | ----
|
75 | 75 |
|
@@ -103,7 +103,7 @@ Finally, mark the cluster as upgraded:
|
103 | 103 |
|
104 | 104 | [source,shell]
|
105 | 105 | ----
|
106 |
| -$ kubectl patch hdfs/simple-hdfs --subresource=status --patch '{"status": {"deployedProductVersion": "3.4.1"}}' --type=merge |
| 106 | +$ kubectl patch hdfs/simple-hdfs --subresource=status --patch '{"status": {"deployedProductVersion": "3.4.2"}}' --type=merge |
107 | 107 | hdfscluster.hdfs.stackable.tech/simple-hdfs patched
|
108 | 108 | ----
|
109 | 109 |
|
|
0 commit comments