Yang, Tong 3f5759eed2 MRS comp-lts 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>
2023-01-19 17:08:45 +00:00

18 lines
4.3 KiB
HTML

<a name="mrs_01_1660"></a><a name="mrs_01_1660"></a>
<h1 class="topictitle1">How Do I Fix Region Overlapping?</h1>
<div id="body8662426"><div class="section" id="mrs_01_1660__en-us_topic_0000001173949842_s0d75574469bd460f87878b6f2e2d2866"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1660__en-us_topic_0000001173949842_p184541132134119">When the HBaseFsck tool is used to check the region status, if the log contains <strong id="mrs_01_1660__en-us_topic_0000001173949842_b13822193917221">ERROR: (regions region1 and region2) There is an overlap in the region chain</strong> or <strong id="mrs_01_1660__en-us_topic_0000001173949842_b13827183922214">ERROR: (region region1) Multiple regions have the same startkey: xxx</strong>, overlapping exists in some regions. How do I solve this problem?</p>
</div>
<div class="section" id="mrs_01_1660__en-us_topic_0000001173949842_section13267010154119"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1660__en-us_topic_0000001173949842_p1654112154910">To rectify the fault, perform the following steps:</p>
<ol id="mrs_01_1660__en-us_topic_0000001173949842_o1b50f7dd7f534e74bfda83d4e960c9b7"><li id="mrs_01_1660__en-us_topic_0000001173949842_l57959cf11dc74b388d62a55b172f9fa6"><a name="mrs_01_1660__en-us_topic_0000001173949842_l57959cf11dc74b388d62a55b172f9fa6"></a><a name="en-us_topic_0000001173949842_l57959cf11dc74b388d62a55b172f9fa6"></a><span>Run the <strong id="mrs_01_1660__en-us_topic_0000001173949842_b1536852411434">hbase hbck -repair </strong><em id="mrs_01_1660__en-us_topic_0000001173949842_i8669624164310">tableName</em> command to restore the table that contains overlapping.</span></li><li id="mrs_01_1660__en-us_topic_0000001173949842_li157993378533"><span>Run the <strong id="mrs_01_1660__en-us_topic_0000001173949842_b226532810439">hbase hbck </strong><em id="mrs_01_1660__en-us_topic_0000001173949842_i13521162814310">tableName</em> command to check whether overlapping exists in the restored table.</span><p><ul id="mrs_01_1660__en-us_topic_0000001173949842_ul42291205559"><li id="mrs_01_1660__en-us_topic_0000001173949842_li122916204551">If overlapping does not exist, go to <a href="#mrs_01_1660__en-us_topic_0000001173949842_lc78ee31171b54bc988743bab2a08bbc9">3</a>.</li><li id="mrs_01_1660__en-us_topic_0000001173949842_li338222305513">If overlapping exists, go to <a href="#mrs_01_1660__en-us_topic_0000001173949842_l57959cf11dc74b388d62a55b172f9fa6">1</a>.</li></ul>
</p></li><li id="mrs_01_1660__en-us_topic_0000001173949842_lc78ee31171b54bc988743bab2a08bbc9"><a name="mrs_01_1660__en-us_topic_0000001173949842_lc78ee31171b54bc988743bab2a08bbc9"></a><a name="en-us_topic_0000001173949842_lc78ee31171b54bc988743bab2a08bbc9"></a><span>Log in to FusionInsight Manager and choose <strong id="mrs_01_1660__en-us_topic_0000001173949842_b1445443053215">Cluster</strong> &gt; <em id="mrs_01_1660__en-us_topic_0000001173949842_i845415308325">Name of the desired cluster</em> &gt; <strong id="mrs_01_1660__en-us_topic_0000001173949842_b1445517303320">Services</strong> &gt; <strong id="mrs_01_1660__en-us_topic_0000001173949842_b345511309322">HBase</strong> &gt; <strong id="mrs_01_1660__en-us_topic_0000001173949842_b1445663018328">More</strong> &gt; <strong id="mrs_01_1660__en-us_topic_0000001173949842_b6456183013321">Perform HMaster Switchover</strong> to complete the HMaster active/standby switchover.</span></li><li id="mrs_01_1660__en-us_topic_0000001173949842_l8104ce4be72e4d02a008b0b0f51bb46e"><span>Run the <strong id="mrs_01_1660__en-us_topic_0000001173949842_b10896143218434">hbase hbck </strong><em id="mrs_01_1660__en-us_topic_0000001173949842_i1924120338433">tableName</em> command to check whether overlapping exists in the restored table.</span><p><ul id="mrs_01_1660__en-us_topic_0000001173949842_ul22891433155911"><li id="mrs_01_1660__en-us_topic_0000001173949842_li1628973395918">If overlapping does not exist, no further action is required.</li><li id="mrs_01_1660__en-us_topic_0000001173949842_li8289533105914">If overlapping still exists, start from <a href="#mrs_01_1660__en-us_topic_0000001173949842_l57959cf11dc74b388d62a55b172f9fa6">1</a> to perform the recovery again.</li></ul>
</p></li></ol>
</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>