diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 8cd9f695163..ef95121e7f4 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -415,6 +415,8 @@ Release 2.6.0 - UNRELEASED HDFS-6988. Improve HDFS-6581 eviction configuration (Xiaoyu Yao via Colin P. McCabe) + HDFS-7230. Add rolling downgrade documentation. (szetszwo via jing9) + OPTIMIZATIONS HDFS-6690. Deduplicate xattr names in memory. (wang) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsRollingUpgrade.xml b/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsRollingUpgrade.xml index 61d7d067f91..1053695b4f5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsRollingUpgrade.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsRollingUpgrade.xml @@ -152,17 +152,21 @@ or, in some unlikely case, the upgrade fails (due to bugs in the newer release), administrators may choose to downgrade HDFS back to the pre-upgrade release, or rollback HDFS to the pre-upgrade release and the pre-upgrade state. - Both downgrade and rollback require cluster downtime and are not done in a rolling fashion.

- Note that downgrade and rollback are possible only after a rolling upgrade is started and + Note that downgrade can be done in a rolling fashion but rollback cannot. + Rollback requires cluster downtime. +

+

+ Note also that downgrade and rollback are possible only after a rolling upgrade is started and before the upgrade is terminated. An upgrade can be terminated by either finalize, downgrade or rollback. Therefore, it may not be possible to perform rollback after finalize or downgrade, or to perform downgrade after finalize.

+ - +

Downgrade restores the software back to the pre-upgrade release and preserves the user data. @@ -174,21 +178,70 @@ A newer release is downgradable to the pre-upgrade release only if both the namenode layout version and the datenode layout version are not changed between these two releases. - Below are the steps for downgrade:

- - + +
- +

Rollback restores the software back to the pre-upgrade release but also reverts the user data back to the pre-upgrade state. @@ -198,6 +251,7 @@

Rollback from a newer release to the pre-upgrade release is always supported. + However, it cannot be done in a rolling fashion. It requires cluster downtime. Below are the steps for rollback:

    @@ -210,7 +264,6 @@
-
@@ -248,7 +301,7 @@

Note that the command does not wait for the datanode shutdown to complete. The "dfsadmin -getDatanodeInfo" - command can be used for checking if the datanode shutdown is complete. + command can be used for checking if the datanode shutdown is completed.