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

17 lines
3.3 KiB
HTML

<a name="mrs_01_1661"></a><a name="mrs_01_1661"></a>
<h1 class="topictitle1">Why Does RegionServer Fail to Be Started When GC Parameters Xms and Xmx of HBase RegionServer Are Set to 31 GB?</h1>
<div id="body1596003895097"><div class="section" id="mrs_01_1661__s0d75574469bd460f87878b6f2e2d2866"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1661__p184541132134119">(MRS 3.x and later versions) Check the <strong id="mrs_01_1661__b1437910910334">hbase-omm-*.out</strong> log of the node where RegionServer fails to be started. It is found that the log contains <strong id="mrs_01_1661__b53842912339">An error report file with more information is saved as: /tmp/hs_err_pid*.log</strong>. Check the <strong id="mrs_01_1661__b1238413913320">/tmp/hs_err_pid*.log</strong> file. It is found that the log contains <strong id="mrs_01_1661__b11385191337">#Internal Error (vtableStubs_aarch64.cpp:213), pid=9456, tid=0x0000ffff97fdd200 and #guarantee(__ pc() &lt;= s-&gt;code_end()) failed: overflowed buffer</strong>, indicating that the problem is caused by JDK. How do I solve this problem?</p>
</div>
<div class="section" id="mrs_01_1661__section959474614266"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1661__p123131815194011">To rectify the fault, perform the following steps:</p>
<ol id="mrs_01_1661__ol84371210114011"><li id="mrs_01_1661__l57959cf11dc74b388d62a55b172f9fa6"><span>Run the <strong id="mrs_01_1661__b1441455133317">su - omm</strong> command on a node where RegionServer fails to be started to switch to user <strong id="mrs_01_1661__b12419651103319">omm</strong>.</span></li><li id="mrs_01_1661__li124971844104312"><span>Run the <strong id="mrs_01_1661__b751317541339">java -XX:+PrintFlagsFinal -version |grep HeapBase</strong> command as user <strong id="mrs_01_1661__b195141754193317">omm</strong>. Information similar to the following is displayed:</span><p><pre class="screen" id="mrs_01_1661__screen17533125384315">uintx HeapBaseMinAddress = 2147483648 {pd product}</pre>
</p></li><li id="mrs_01_1661__li238311424418"><span>Change the values of <strong id="mrs_01_1661__b12831135714330">-Xms</strong> and <strong id="mrs_01_1661__b5837185763319">-Xmx</strong> in <strong id="mrs_01_1661__b1883765713310">GC_OPTS</strong> to values that are not between <strong id="mrs_01_1661__b1183865718337">32G-HeapBaseMinAddress</strong> and <strong id="mrs_01_1661__b88393575339">32G</strong>, excluding the values of <strong id="mrs_01_1661__b28394577337">32G</strong> and <strong id="mrs_01_1661__b284018571336">32G-HeapBaseMinAddress</strong>.</span></li><li id="mrs_01_1661__li862614818413"><span>Log in to FusionInsight Manager, choose <strong id="mrs_01_1661__b1389036123417">Cluster</strong> &gt; <em id="mrs_01_1661__i1989612615349">Name of the desired cluster</em> &gt; <strong id="mrs_01_1661__b58961066348">Services</strong> &gt; <strong id="mrs_01_1661__b138975618349">HBase</strong> &gt; <strong id="mrs_01_1661__b138988615346">Instance</strong>, select the failed instance, and choose <strong id="mrs_01_1661__b16899126113411">More</strong> &gt; <strong id="mrs_01_1661__b118991069345">Restart Instance</strong> to restart the failed instance.</span></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>