HDFS-7934. Update RollingUpgrade rollback documentation: should use bootstrapstandby for standby NN. Contributed by J. Andreina.
(cherry picked from commitb172d03595
) (cherry picked from commit725621d95a
)
This commit is contained in:
parent
9e11ae684a
commit
e1ce0700eb
|
@ -23,6 +23,9 @@ Release 2.7.1 - UNRELEASED
|
||||||
HDFS-8151. Always use snapshot path as source when invalid snapshot names
|
HDFS-8151. Always use snapshot path as source when invalid snapshot names
|
||||||
are used for diff based distcp. (jing9)
|
are used for diff based distcp. (jing9)
|
||||||
|
|
||||||
|
HDFS-7934. Update RollingUpgrade rollback documentation: should use
|
||||||
|
bootstrapstandby for standby NN. (J. Andreina via jing9)
|
||||||
|
|
||||||
Release 2.7.0 - UNRELEASED
|
Release 2.7.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -263,14 +263,16 @@
|
||||||
<p>
|
<p>
|
||||||
Rollback from a newer release to the pre-upgrade release is always supported.
|
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.
|
However, it cannot be done in a rolling fashion. It requires cluster downtime.
|
||||||
|
Suppose <em>NN1</em> and <em>NN2</em> are respectively in active and standby states.
|
||||||
Below are the steps for rollback:
|
Below are the steps for rollback:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Rollback HDFS<ol>
|
<li>Rollback HDFS<ol>
|
||||||
<li>Shutdown all <em>NNs</em> and <em>DNs</em>.</li>
|
<li>Shutdown all <em>NNs</em> and <em>DNs</em>.</li>
|
||||||
<li>Restore the pre-upgrade release in all machines.</li>
|
<li>Restore the pre-upgrade release in all machines.</li>
|
||||||
<li>Start <em>NNs</em> with the
|
<li>Start <em>NN1</em> as Active with the
|
||||||
"<a href="#namenode_-rollingUpgrade"><code>-rollingUpgrade rollback</code></a>" option.</li>
|
"<a href="#namenode_-rollingUpgrade"><code>-rollingUpgrade rollback</code></a>" option.</li>
|
||||||
|
<li>Run `-bootstrapStandby' on NN2 and start it normally as standby.</li>
|
||||||
<li>Start <em>DNs</em> with the "<code>-rollback</code>" option.</li>
|
<li>Start <em>DNs</em> with the "<code>-rollback</code>" option.</li>
|
||||||
</ol></li>
|
</ol></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue