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

49 lines
5.1 KiB
HTML

<a name="mrs_01_0443"></a><a name="mrs_01_0443"></a>
<h1 class="topictitle1">Configuring HBase Parameters</h1>
<div id="body1589421623830"><div class="note" id="mrs_01_0443__note157161915598"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_0443__p7716149125917">The operations described in this section apply only to clusters of versions earlier than MRS 3.x.</p>
</div></div>
<p id="mrs_01_0443__p938634316933">If the default parameter settings of the MRS service cannot meet your requirements, you can modify the parameter settings as required.</p>
<ol id="mrs_01_0443__ol16662473715"><li id="mrs_01_0443__li24453319614"><span>Log in to the service page.</span><p><p id="mrs_01_0443__p1528815213240">For versions earlier than MRS 1.9.2: Log in to <a href="https://docs.otc.t-systems.com/usermanual/mrs/mrs_01_0102.html" target="_blank" rel="noopener noreferrer">MRS Manager</a>, and choose <strong id="mrs_01_0443__b56021340173016">Services</strong>.</p>
<p id="mrs_01_0443__p463355062416">For MRS 1.9.2 or later: Click the cluster name on the MRS console and choose <strong id="mrs_01_0443__b2386950194317">Components</strong>.</p>
</p></li><li id="mrs_01_0443__li448801318714"><span>Choose <strong id="mrs_01_0443__b5206171005717">HBase</strong> &gt; <strong id="mrs_01_0443__b1636781415714">Service Configuration</strong> and switch <strong id="mrs_01_0443__b74231329183517">Basic</strong> to <strong id="mrs_01_0443__b15423129133517">All</strong>. On the displayed HBase configuration page, modify parameter settings.</span><p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0443__table430163185120" frame="border" border="1" rules="all"><caption><b>Table 1 </b>HBase parameters</caption><thead align="left"><tr id="mrs_01_0443__row2030218315519"><th align="left" class="cellrowborder" valign="top" width="39.24392439243925%" id="mcps1.3.3.2.2.1.2.4.1.1"><p id="mrs_01_0443__p13021439512">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40.32403240324032%" id="mcps1.3.3.2.2.1.2.4.1.2"><p id="mrs_01_0443__p123021739518">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.43204320432043%" id="mcps1.3.3.2.2.1.2.4.1.3"><p id="mrs_01_0443__p83026314512">Value</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_0443__row123021438512"><td class="cellrowborder" valign="top" width="39.24392439243925%" headers="mcps1.3.3.2.2.1.2.4.1.1 "><p id="mrs_01_0443__p83021338513">hbase.regionserver.hfile.durable.sync</p>
</td>
<td class="cellrowborder" valign="top" width="40.32403240324032%" headers="mcps1.3.3.2.2.1.2.4.1.2 "><p id="mrs_01_0443__p1094819171504">Whether to enable the HFile durability to make data persistence on disks. If this parameter is set to<strong id="mrs_01_0443__b1678172817362"> true</strong>, HBase performance is affected because each HFile is synchronized to disks by <strong id="mrs_01_0443__b9835286368">hadoop fsync</strong> when being written to HBase.</p>
<p id="mrs_01_0443__p9914183914017">This parameter exists only in MRS 1.9.2 or earlier.</p>
</td>
<td class="cellrowborder" valign="top" width="20.43204320432043%" headers="mcps1.3.3.2.2.1.2.4.1.3 "><p id="mrs_01_0443__p3878173417820">Possible values are as follows:</p>
<ul id="mrs_01_0443__ul178809348816"><li id="mrs_01_0443__li188801341585"><strong id="mrs_01_0443__b13677515182020">true</strong></li><li id="mrs_01_0443__li188053418811"><strong id="mrs_01_0443__b737492411207">false</strong></li></ul>
<p id="mrs_01_0443__p107989107314">The default value is <strong id="mrs_01_0443__b123093489366">true</strong>.</p>
</td>
</tr>
<tr id="mrs_01_0443__row113027316513"><td class="cellrowborder" valign="top" width="39.24392439243925%" headers="mcps1.3.3.2.2.1.2.4.1.1 "><p id="mrs_01_0443__p73039355113">hbase.regionserver.wal.durable.sync</p>
</td>
<td class="cellrowborder" valign="top" width="40.32403240324032%" headers="mcps1.3.3.2.2.1.2.4.1.2 "><p id="mrs_01_0443__p73031634516">Specifies whether to enable WAL file durability to make the WAL data persistence on disks. If this parameter is set to<strong id="mrs_01_0443__b14817135815367"> true</strong>, HBase performance is affected because each edited WAL file is synchronized to disks by <strong id="mrs_01_0443__b178229585369">hadoop fsync</strong> when being written to HBase.</p>
<p id="mrs_01_0443__p146725363219">This parameter exists only in MRS 1.9.2 or earlier.</p>
</td>
<td class="cellrowborder" valign="top" width="20.43204320432043%" headers="mcps1.3.3.2.2.1.2.4.1.3 "><p id="mrs_01_0443__p687715499814">Possible values are as follows:</p>
<ul id="mrs_01_0443__ul10877164913820"><li id="mrs_01_0443__li6877144920815"><strong id="mrs_01_0443__b3416183182013">true</strong></li><li id="mrs_01_0443__li178772491285"><strong id="mrs_01_0443__b111251838172012">false</strong></li></ul>
<p id="mrs_01_0443__p18878949886">The default value is <strong id="mrs_01_0443__b436551319375">true</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0500.html">Using HBase</a></div>
</div>
</div>