forked from docs/doc-exports
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>
18 lines
2.3 KiB
HTML
18 lines
2.3 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="body8662426"><div class="section" id="mrs_01_1644__en-us_topic_0000001219231161_s74bf0159601b4212abdbf71ebdd5ad3e"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1644__en-us_topic_0000001219231161_a03a90cc20cc64b70aec69d8720d21789">How do I restore a region in the RIT state for a long time?</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1644__en-us_topic_0000001219231161_s2cfc2d2d793944289b42c8a58250cb37"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1644__en-us_topic_0000001219231161_p11897448174317">Log in to the HMaster WebUI, choose <strong id="mrs_01_1644__en-us_topic_0000001219231161_b53761932174920">Procedure & Locks</strong> in the navigation tree, and check whether any process ID is in the <strong id="mrs_01_1644__en-us_topic_0000001219231161_b92021140114910">Waiting</strong> state. If yes, run the following command to release the procedure lock:</p>
|
|
<p id="mrs_01_1644__en-us_topic_0000001219231161_p5597411164412"><strong id="mrs_01_1644__en-us_topic_0000001219231161_b1680913161614">hbase hbck -j /opt/client/HBase/hbase/tools/hbase-hbck2-*.jar bypass -o </strong><em id="mrs_01_1644__en-us_topic_0000001219231161_i91087177114">pid</em></p>
|
|
<p id="mrs_01_1644__en-us_topic_0000001219231161_p19326719134413">Check whether the state is in the <strong id="mrs_01_1644__en-us_topic_0000001219231161_b1922219569498">Bypass</strong> state. If the procedure on the UI is always in <strong id="mrs_01_1644__en-us_topic_0000001219231161_b3344193865017">RUNNABLE(Bypass)</strong> state, perform an active/standby switchover. Run the <strong id="mrs_01_1644__en-us_topic_0000001219231161_b05741245145011">assigns</strong> command to bring the region online again.</p>
|
|
<p id="mrs_01_1644__en-us_topic_0000001219231161_p2365135112447"><strong id="mrs_01_1644__en-us_topic_0000001219231161_b377105415114">hbase hbck -j /opt/client/HBase/hbase/tools/hbase-hbck2-*.jar assigns -o </strong><em id="mrs_01_1644__en-us_topic_0000001219231161_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>
|
|
|