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

18 lines
2.0 KiB
HTML

<a name="mrs_01_1644"></a><a name="mrs_01_1644"></a>
<h1 class="topictitle1">How Do I Restore a Region in the RIT State for a Long Time?</h1>
<div id="body1596003894347"><div class="section" id="mrs_01_1644__s74bf0159601b4212abdbf71ebdd5ad3e"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1644__a03a90cc20cc64b70aec69d8720d21789">How do I restore a region in the RIT state for a long time?</p>
</div>
<div class="section" id="mrs_01_1644__s2cfc2d2d793944289b42c8a58250cb37"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1644__p11897448174317">Log in to the HMaster Web UI, choose <strong id="mrs_01_1644__b53761932174920">Procedure &amp; Locks</strong> in the navigation tree, and check whether any process ID is in the <strong id="mrs_01_1644__b92021140114910">Waiting</strong> state. If yes, run the following command to release the procedure lock:</p>
<p id="mrs_01_1644__p5597411164412"><strong id="mrs_01_1644__b12975122114305">hbase hbck -j </strong><em id="mrs_01_1644__i1547615221302">Client installation directory</em><strong id="mrs_01_1644__b4975621133019">/HBase/hbase/tools/hbase-hbck2-*.jar bypass -o </strong><em id="mrs_01_1644__i91087177114">pid</em></p>
<p id="mrs_01_1644__p19326719134413">Check whether the state is in the <strong id="mrs_01_1644__b1922219569498">Bypass</strong> state. If the procedure on the UI is always in <strong id="mrs_01_1644__b3344193865017">RUNNABLE(Bypass)</strong> state, perform an active/standby switchover. Run the <strong id="mrs_01_1644__b05741245145011">assigns</strong> command to bring the region online again.</p>
<p id="mrs_01_1644__p2365135112447"><strong id="mrs_01_1644__b314583618303">hbase hbck -j </strong><em id="mrs_01_1644__i12148193616305">Client installation directory</em><strong id="mrs_01_1644__b0145163615309">/HBase/hbase/tools/hbase-hbck2-*.jar assigns -o </strong><em id="mrs_01_1644__i7933185410119">regionName</em></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1638.html">Common Issues About HBase</a></div>
</div>
</div>