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

69 lines
6.1 KiB
HTML

<a name="mrs_01_2094"></a><a name="mrs_01_2094"></a>
<h1 class="topictitle1">Common ZooKeeper Parameters</h1>
<div id="body1595905684798"><p id="mrs_01_2094__aedfb16fd0bd4409abdcc7a78e4588f16"><strong id="mrs_01_2094__ab5d12d3d7dfa482b93f6775f61c5f7a7">Navigation path for setting parameters:</strong></p>
<p id="mrs_01_2094__p1162370315">Go to the <strong id="mrs_01_2094__b1635653214487">All Configurations</strong> page of ZooKeeper by referring to <a href="mrs_01_2125.html">Modifying Cluster Service Configuration Parameters</a>. Enter a parameter name in the search box.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_2094__t59a811670a1049f49807de103ced1f33" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="mrs_01_2094__rc6bab9954f184856b04f75035ef8be81"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.1"><p id="mrs_01_2094__ab36beae310eb4ed2b93e0df6dd836af9"><strong id="mrs_01_2094__a5cc700cdee56431e8b08e2a2761426c4">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.2"><p id="mrs_01_2094__a6289f44ed52f4159a033e95b43b3f236">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.3"><p id="mrs_01_2094__abcee5d523b2d4ed5b09c62c75dd9eb32"><strong id="mrs_01_2094__a3347898d0fdd42f08c35925eeac89cc9">Default Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_2094__rbe5156a47edf4e77a8261c0614647d13"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="mrs_01_2094__a30270a689e5841cca90688cf89cbf067">skipACL</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="mrs_01_2094__a3a433a5f25224855bbd2bdbd99ba28e9">Specifies whether to skip the permission check of the ZooKeeper node.</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="mrs_01_2094__a5b309128376d4cdf9cc2ba21eea382a4">no</p>
</td>
</tr>
<tr id="mrs_01_2094__re9c983c3972749f695fa17346ea79d75"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="mrs_01_2094__a4b0213689d7a4ab5a2fe9823b5ea57aa">maxClientCnxns</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="mrs_01_2094__aafe8c15e257248a3b80e50ce02b320b2">Specifies the maximum number of connections of ZooKeeper. It is recommended this parameter is set to a larger value in scenarios with a large number of connections.</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="mrs_01_2094__ae7776ab107fb4f9db6357d731ae60e7d">2000</p>
</td>
</tr>
<tr id="mrs_01_2094__r37d19eb7a66742ce80a9f9acf2e38f3f"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="mrs_01_2094__aaf2a6724c4da45c08285aa23078b048c">LOG_LEVEL</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="mrs_01_2094__a8936b9f250e449b4b1f7325707836827">Specifies the log level. This parameter can be set to <strong id="mrs_01_2094__b114543919541034">DEBUG</strong> during commissioning.</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="mrs_01_2094__a456993ad200e45829d77dbe0c6167ecc">INFO</p>
</td>
</tr>
<tr id="mrs_01_2094__r053315970d5b4ed8836c5edf55ef89ef"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="mrs_01_2094__aef0ac1c0052a4676809810b3404cf43a">acl.compare.shortName</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="mrs_01_2094__af773c8b2fead4646bdd0567a0716a577">Specifies whether to perform ACL authentication only by principal username when the Znode ACL authentication type is SASL.</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="mrs_01_2094__a00699f09e8524642aebfc7334ba9d50a">true</p>
</td>
</tr>
<tr id="mrs_01_2094__row1064812389917"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="mrs_01_2094__p96494386918">synclimit</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="mrs_01_2094__p464963820915">Specifies the interval of synchronization between the follower and leader (unit: tick). If the leader does not respond within the specified time range, the connection cannot be established.</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="mrs_01_2094__p1064911381994">15</p>
</td>
</tr>
<tr id="mrs_01_2094__row1453841017109"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="mrs_01_2094__p3539181014108">tickTime</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="mrs_01_2094__p115391910191017">Specifies the duration of a tick (in milliseconds). It is the basic time unit used by ZooKeeper, which defines heartbeat and timeout durations.</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="mrs_01_2094__p105391010111013">4000</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="mrs_01_2094__note8434101412343"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_2094__p184351114193418">The ZooKeeper internal time is determined by <strong id="mrs_01_2094__b183756148441034">ticktime</strong> and <strong id="mrs_01_2094__b185545054941034">synclimit</strong>. To increase the ZooKeeper internal timeout interval, increase the timeout interval for the client to connect to ZooKeeper.</p>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2092.html">Using ZooKeeper</a></div>
</div>
</div>