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
3.3 KiB
HTML
18 lines
3.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="body1596003895096"><div class="section" id="mrs_01_1660__s0d75574469bd460f87878b6f2e2d2866"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1660__p184541132134119">When the HBaseFsck tool is used to check the region status in MRS 3.x and later versions, if the log contains <strong id="mrs_01_1660__b13822193917221">ERROR: (regions region1 and region2) There is an overlap in the region chain</strong> or <strong id="mrs_01_1660__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__section13267010154119"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1660__p1654112154910">To rectify the fault, perform the following steps:</p>
|
|
<ol id="mrs_01_1660__o1b50f7dd7f534e74bfda83d4e960c9b7"><li id="mrs_01_1660__l57959cf11dc74b388d62a55b172f9fa6"><a name="mrs_01_1660__l57959cf11dc74b388d62a55b172f9fa6"></a><a name="l57959cf11dc74b388d62a55b172f9fa6"></a><span>Run the <strong id="mrs_01_1660__b1536852411434">hbase hbck -repair </strong><em id="mrs_01_1660__i8669624164310">tableName</em> command to restore the table that contains overlapping.</span></li><li id="mrs_01_1660__li157993378533"><span>Run the <strong id="mrs_01_1660__b226532810439">hbase hbck </strong><em id="mrs_01_1660__i13521162814310">tableName</em> command to check whether overlapping exists in the restored table.</span><p><ul id="mrs_01_1660__ul42291205559"><li id="mrs_01_1660__li122916204551">If overlapping does not exist, go to <a href="#mrs_01_1660__lc78ee31171b54bc988743bab2a08bbc9">3</a>.</li><li id="mrs_01_1660__li338222305513">If overlapping exists, go to <a href="#mrs_01_1660__l57959cf11dc74b388d62a55b172f9fa6">1</a>.</li></ul>
|
|
</p></li><li id="mrs_01_1660__lc78ee31171b54bc988743bab2a08bbc9"><a name="mrs_01_1660__lc78ee31171b54bc988743bab2a08bbc9"></a><a name="lc78ee31171b54bc988743bab2a08bbc9"></a><span>Log in to FusionInsight Manager and choose <strong id="mrs_01_1660__b1445443053215">Cluster</strong> > <em id="mrs_01_1660__i845415308325">Name of the desired cluster</em> > <strong id="mrs_01_1660__b1445517303320">Services</strong> > <strong id="mrs_01_1660__b345511309322">HBase</strong> > <strong id="mrs_01_1660__b1445663018328">More</strong> > <strong id="mrs_01_1660__b6456183013321">Perform HMaster Switchover</strong> to complete the HMaster active/standby switchover.</span></li><li id="mrs_01_1660__l8104ce4be72e4d02a008b0b0f51bb46e"><span>Run the <strong id="mrs_01_1660__b10896143218434">hbase hbck </strong><em id="mrs_01_1660__i1924120338433">tableName</em> command to check whether overlapping exists in the restored table.</span><p><ul id="mrs_01_1660__ul22891433155911"><li id="mrs_01_1660__li1628973395918">If overlapping does not exist, no further action is required.</li><li id="mrs_01_1660__li8289533105914">If overlapping still exists, start from <a href="#mrs_01_1660__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>
|
|
|