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>
56 lines
5.4 KiB
HTML
56 lines
5.4 KiB
HTML
<a name="mrs_01_1046"></a><a name="mrs_01_1046"></a>
|
|
|
|
<h1 class="topictitle1">Storm Common Parameters</h1>
|
|
<div id="body1590370636997"><p id="mrs_01_1046__p2968194121614">This section applies to MRS 3.<em id="mrs_01_1046__i2816639929162">x</em> or later.</p>
|
|
<div class="section" id="mrs_01_1046__section12292181154016"><h4 class="sectiontitle">Navigation Path</h4><p id="mrs_01_1046__p11526143493219">For details about how to set parameters, see <a href="mrs_01_2125.html">Modifying Cluster Service Configuration Parameters</a>.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1046__sf8292c45eb124a59aa7f9370620b384d"><h4 class="sectiontitle">Parameter Description</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1046__t5617fa4052da4cfab11af96d21684fc1" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_1046__ra6738246debd49aa86c4fd7e12f1e1da"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.3.2.2.4.1.1"><p id="mrs_01_1046__a4bdcbdec6728444fabb5dc5516c238b9">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.2.2.4.1.2"><p id="mrs_01_1046__a3f8e6bc697464634a5d8daa043d14bd1">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.3.2.2.4.1.3"><p id="mrs_01_1046__a3702911401da4aba808c875ad396958f">Default Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1046__rdb1c571c9ad54389b80fd781a4595cc8"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.4.1.1 "><p id="mrs_01_1046__ac16d65ae8e4547f9bf44a9e6a0905375">supervisor.slots.ports</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.4.1.2 "><p id="mrs_01_1046__a975c408050c04f94a4829533b29c3ac6">Specifies the list of ports that can run workers on the supervisor. Each worker occupies a port, and each port runs only one worker. This parameter is used to set the number of workers that can run on each server. Ports range from 1024 to 65535, and ports are separated by commas (,).</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.2.2.4.1.3 "><p id="mrs_01_1046__p189308545414">6700,6701,6702,6703</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1046__r878b3b4123bc43c58605e0d37e8c2ce5"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.4.1.1 "><p id="mrs_01_1046__a248cbd08bebe452f9fdb54d75a2c5391">WORKER_GC_OPTS</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.4.1.2 "><p id="mrs_01_1046__a12d0664804bd4517a7b6952c681c8f28">Specifies the JVM option used for supervisor to start worker. It is recommended that you set this parameter based on memory usage of a service. For simple service processing, the recommended value is <strong id="mrs_01_1046__b14222105353519">-Xmx1G</strong>. If window cache is used, the value of this parameter is calculated based on the following formula: Size of each record x Period x 2</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.2.2.4.1.3 "><p id="mrs_01_1046__aa2f38f2a923a46f9bb5f6ee188d185a9">-Xms1G -Xmx1G -XX:+UseG1GC -XX:+PrintGCDetails -Xloggc:artifacts/gc.log -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=artifacts/heapdump</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1046__rdcc7ab3d8a764344b862e08bf7cd652f"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.4.1.1 "><p id="mrs_01_1046__a49db079597c04b5e85ad4629f9e7ea9f">default.schedule.mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.4.1.2 "><p id="mrs_01_1046__ab74ae06304bd4a20866562b945bed4a9">Specifies the default scheduling mode of the scheduler. Options are as follows:</p>
|
|
<ul id="mrs_01_1046__ud611a9cabaa94ed2a80f8aa4b3134352"><li id="mrs_01_1046__l466ff487b8e9438e83841fdc705034ff"><strong id="mrs_01_1046__b1261792673812">AVERAGE</strong>: indicates that the scheduling mechanism that uses the number of idle slots as the priority is used.</li><li id="mrs_01_1046__ld58dc23a27084568beae3fc1d908e58a"><strong id="mrs_01_1046__b3815148391">RATE</strong>: indicates that the scheduling mechanism that uses the rate of idle slots as the priority is used.</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.2.2.4.1.3 "><p id="mrs_01_1046__aad309f3136de4a6db4e3c6de5e5bd89d">AVERAGE</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1046__r8323d8cb20524b2e9d63d3d0def33a25"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.4.1.1 "><p id="mrs_01_1046__ad3b5d6cb467447d6ac4659c992366380">nimbus.thrift.threads</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.4.1.2 "><p id="mrs_01_1046__a6d511d7d7e5d4fc0a7898cb9a8c6d8bd">Set the maximum number of connection threads when the active Nimbus externally provides services. If the Storm cluster is large and the number of Supervisor instances is large, increase connection threads.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.3.2.2.4.1.3 "><p id="mrs_01_1046__a4ac34c81da544ba4ac3422db7ca0b5ea">512</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0380.html">Using Storm</a></div>
|
|
</div>
|
|
</div>
|
|
|