瀏覽代碼

HDFS-8110. Remove unsupported 'hdfs namenode -rollingUpgrade downgrade' from document. Contributed by J.Andreina.

Akira Ajisaka 10 年之前
父節點
當前提交
91b97c21c9

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -315,6 +315,9 @@ Trunk (Unreleased)
     HDFS-4681. TestBlocksWithNotEnoughRacks#testCorruptBlockRereplicatedAcrossRacks 
     HDFS-4681. TestBlocksWithNotEnoughRacks#testCorruptBlockRereplicatedAcrossRacks 
     fails using IBM java (Ayappan via aw)
     fails using IBM java (Ayappan via aw)
 
 
+    HDFS-8110. Remove unsupported 'hdfs namenode -rollingUpgrade downgrade'
+    from document. (J.Andreina via aajisaka)
+
 Release 2.8.0 - UNRELEASED
 Release 2.8.0 - UNRELEASED
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 3 - 23
hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsRollingUpgrade.xml

@@ -190,14 +190,12 @@
     only if both the namenode layout version and the datenode layout version
     only if both the namenode layout version and the datenode layout version
     are not changed between these two releases.
     are not changed between these two releases.
   </p>
   </p>
-
-  <subsection name="Downgrade without Downtime" id="DowngradeWithoutDowntime">
   <p>
   <p>
     In a HA cluster,
     In a HA cluster,
     when a rolling upgrade from an old software release to a new software release is in progress,
     when a rolling upgrade from an old software release to a new software release is in progress,
     it is possible to downgrade, in a rolling fashion, the upgraded machines back to the old software release.
     it is possible to downgrade, in a rolling fashion, the upgraded machines back to the old software release.
     Same as before, suppose <em>NN1</em> and <em>NN2</em> are respectively in active and standby states.
     Same as before, suppose <em>NN1</em> and <em>NN2</em> are respectively in active and standby states.
-    Below are the steps for rolling downgrade:
+    Below are the steps for rolling downgrade without downtime:
   </p>
   </p>
   <ol>
   <ol>
     <li>Downgrade <em>DNs</em><ol>
     <li>Downgrade <em>DNs</em><ol>
@@ -214,16 +212,12 @@
     </ol></li>
     </ol></li>
     <li>Downgrade Active and Standby <em>NNs</em><ol>
     <li>Downgrade Active and Standby <em>NNs</em><ol>
       <li>Shutdown and downgrade <em>NN2</em>.</li>
       <li>Shutdown and downgrade <em>NN2</em>.</li>
-      <li>Start <em>NN2</em> as standby normally. (Note that it is incorrect to use the
-        "<a href="#namenode_-rollingUpgrade"><code>-rollingUpgrade downgrade</code></a>"
-        option here.)
+      <li>Start <em>NN2</em> as standby normally.
       </li>
       </li>
       <li>Failover from <em>NN1</em> to <em>NN2</em>
       <li>Failover from <em>NN1</em> to <em>NN2</em>
         so that <em>NN2</em> becomes active and <em>NN1</em> becomes standby.</li>
         so that <em>NN2</em> becomes active and <em>NN1</em> becomes standby.</li>
       <li>Shutdown and upgrade <em>NN1</em>.</li>
       <li>Shutdown and upgrade <em>NN1</em>.</li>
-      <li>Start <em>NN1</em> as standby normally. (Note that it is incorrect to use the
-        "<a href="#namenode_-rollingUpgrade"><code>-rollingUpgrade downgrade</code></a>"
-        option here.)
+      <li>Start <em>NN1</em> as standby normally.
       </li>
       </li>
     </ol></li>
     </ol></li>
     <li>Finalize Rolling Downgrade<ul>
     <li>Finalize Rolling Downgrade<ul>
@@ -236,20 +230,6 @@
     since protocols may be changed in a backward compatible manner but not forward compatible,
     since protocols may be changed in a backward compatible manner but not forward compatible,
     i.e. old datanodes can talk to the new namenodes but not vice versa.
     i.e. old datanodes can talk to the new namenodes but not vice versa.
   </p>
   </p>
-  </subsection>
-  <subsection name="Downgrade with Downtime" id="DowngradeWithDowntime">
-  <p>
-    Administrator may choose to first shutdown the cluster and then downgrade it.
-    The following are the steps:
-  </p>
-  <ol>
-      <li>Shutdown all <em>NNs</em> and <em>DNs</em>.</li>
-      <li>Restore the pre-upgrade release in all machines.</li>
-      <li>Start <em>NNs</em> with the 
-        "<a href="#namenode_-rollingUpgrade"><code>-rollingUpgrade downgrade</code></a>" option.</li>
-      <li>Start <em>DNs</em> normally.</li>
-  </ol>
-  </subsection>
   </section>
   </section>
 
 
   <section name="Rollback" id="Rollback">
   <section name="Rollback" id="Rollback">