Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

19 lines
2.0 KiB
HTML

<a name="mrs_01_1698"></a><a name="mrs_01_1698"></a>
<h1 class="topictitle1">Standby NameNode Fails to Be Restarted When the System Is Powered off During Metadata (Namespace) Storage</h1>
<div id="body1597735019867"><div class="section" id="mrs_01_1698__s120726c9d7074f3c8547ddd703b79dd4"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1698__a5e2cba8452a64d99b003ea180a91ef5e">When the standby NameNode is powered off during metadata (namespace) storage, it fails to be started and the following error information is displayed.</p>
<p id="mrs_01_1698__aca752e7394e946099aa6962a131879ad"><span><img id="mrs_01_1698__ib460829c695941438e271de0339b227f" src="en-us_image_0000001349169981.png"></span></p>
</div>
<div class="section" id="mrs_01_1698__s315dccc16fd84acca7252271424df31c"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1698__a6f996118ba6f45c4bda97c61b30f2f00">When the standby NameNode is powered off during metadata (namespace) storage, it fails to be started and the MD5 file is damaged. Remove the damaged fsimage and start the standby NameNode to rectify the fault. After the rectification, the standby NameNode loads the previous fsimage and reproduces all edits.</p>
<p id="mrs_01_1698__ab3e6269aead74698ae74d66ea0c8f97b">Recovery procedure:</p>
<ol id="mrs_01_1698__oe41710d26efc455f8bffc518f92516a9"><li id="mrs_01_1698__la10077be3e644b40827b781f145ffce5">Run the following command to remove the damaged fsimage:<p id="mrs_01_1698__a0bcd9a5bca2645a6897b56c1766f390a"><a name="mrs_01_1698__la10077be3e644b40827b781f145ffce5"></a><a name="la10077be3e644b40827b781f145ffce5"></a><strong id="mrs_01_1698__af46850780a404482a0a94fdb01f5a700">rm -rf ${BIGDATA_DATA_HOME}/namenode/current/fsimage_0000000000000096</strong></p>
</li><li id="mrs_01_1698__l0b2582a9e15646d4b8e02db396eed084">Start the standby NameNode.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1690.html">FAQ</a></div>
</div>
</div>