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>
192 lines
27 KiB
HTML
192 lines
27 KiB
HTML
<a name="mrs_01_1731"></a><a name="mrs_01_1731"></a>
|
|
|
|
<h1 class="topictitle1">Creating HetuEngine Compute Instances</h1>
|
|
<div id="body32001227"><div class="section" id="mrs_01_1731__en-us_topic_0000001173631202_section1380314336472"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_1731__en-us_topic_0000001173631202_p1450444984715">This section describes how to create a <span id="mrs_01_1731__en-us_topic_0000001173631202_text1279481614813">HetuEngine</span> compute instance. If you want to stop the cluster where compute instances are successfully created, you need to manually stop the compute instances first. If you want to use the compute instances after the cluster is restarted, you need to manually start them.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1731__en-us_topic_0000001173631202_section541216155610"><h4 class="sectiontitle">Prerequisites</h4><ul id="mrs_01_1731__en-us_topic_0000001173631202_ul173852961413"><li id="mrs_01_1731__en-us_topic_0000001173631202_li138729191417">You have created a user for accessing the <span id="mrs_01_1731__en-us_topic_0000001173631202_text6140253894">HetuEngine</span> web UI. For details, see <a href="mrs_01_1714.html">Creating a HetuEngine User</a>.</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li1638229151414">You have created a tenant in the cluster to be operated. For details about how to create a tenant. Ensure that the tenant has sufficient memory and CPUs when modifying the <span id="mrs_01_1731__en-us_topic_0000001173631202_text12305666217">HetuEngine</span> compute instance configuration.<div class="note" id="mrs_01_1731__en-us_topic_0000001173631202_note77801559102111"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_1731__en-us_topic_0000001173631202_p1274419349469">You must use a leaf tenant when creating a <span id="mrs_01_1731__en-us_topic_0000001173631202_text11549541391">HetuEngine</span> compute instance. Yarn tasks can be submitted only to the queues of the leaf tenant.</p>
|
|
</div></div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_01_1731__en-us_topic_0000001173631202_section842817774917"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_1731__en-us_topic_0000001173631202_ol14200318164912"><li id="mrs_01_1731__en-us_topic_0000001173631202_li101331569596"><span>Log in to FusionInsight Manager as a user who can access the <span id="mrs_01_1731__en-us_topic_0000001173631202_text936619109254">HetuEngine</span> web UI and choose <strong id="mrs_01_1731__en-us_topic_0000001173631202_b1540619562042">Cluster</strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b240612561146">Services</strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b11751516655"><span id="mrs_01_1731__en-us_topic_0000001173631202_text11182231486">HetuEngine</span></strong>. The <strong id="mrs_01_1731__en-us_topic_0000001173631202_b1014510242058"><span id="mrs_01_1731__en-us_topic_0000001173631202_text159634231989">HetuEngine</span></strong> service page is displayed.</span></li><li id="mrs_01_1731__en-us_topic_0000001173631202_li820016181497"><span>In the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b106111583051513">Basic Information</strong> area on the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b41396756651513">Dashboard</strong> page, click the link next to <strong id="mrs_01_1731__en-us_topic_0000001173631202_b195606614151513">HSConsole WebUI</strong>. The HSConsole page is displayed.</span></li><li id="mrs_01_1731__en-us_topic_0000001173631202_li1820091816490"><span>Click <strong id="mrs_01_1731__en-us_topic_0000001173631202_b087194115358">Create Configuration</strong> above the instance list. In the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b1587113419359">Configure Instance</strong> dialog box, set parameters.</span><p><ol type="a" id="mrs_01_1731__en-us_topic_0000001173631202_ol1562153195212"><li id="mrs_01_1731__en-us_topic_0000001173631202_li355817317526">Set parameters in the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b201281250123">Basic Configuration</strong> area. For details about the parameters, see <a href="#mrs_01_1731__en-us_topic_0000001173631202_table18558203113529">Table 1</a>.
|
|
<div class="tablenoborder"><a name="mrs_01_1731__en-us_topic_0000001173631202_table18558203113529"></a><a name="en-us_topic_0000001173631202_table18558203113529"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1731__en-us_topic_0000001173631202_table18558203113529" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Basic configuration</caption><thead align="left"><tr id="mrs_01_1731__en-us_topic_0000001173631202_row95589318526"><th align="left" class="cellrowborder" valign="top" width="31.47%" id="mcps1.3.3.2.3.2.1.1.3.2.4.1.1"><p id="mrs_01_1731__en-us_topic_0000001173631202_p135581331175214">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="35.83%" id="mcps1.3.3.2.3.2.1.1.3.2.4.1.2"><p id="mrs_01_1731__en-us_topic_0000001173631202_p155581531175220">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.7%" id="mcps1.3.3.2.3.2.1.1.3.2.4.1.3"><p id="mrs_01_1731__en-us_topic_0000001173631202_p11558731115214">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1731__en-us_topic_0000001173631202_row5558183115522"><td class="cellrowborder" valign="top" width="31.47%" headers="mcps1.3.3.2.3.2.1.1.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p13558831155217">Resource Queue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.83%" headers="mcps1.3.3.2.3.2.1.1.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p8558113165212">Resource queue of the instance. Only one compute instance can be created in a resource queue.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.7%" headers="mcps1.3.3.2.3.2.1.1.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1558173117522">Select a queue from the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b6911632162313">Resource Queue</strong> drop-down list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row7558193195212"><td class="cellrowborder" valign="top" width="31.47%" headers="mcps1.3.3.2.3.2.1.1.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p16558113115527">Instance Deployment Timeout Period (s)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="35.83%" headers="mcps1.3.3.2.3.2.1.1.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p755823116527">Timeout interval for starting a compute instance by Yarn service deployment. The system starts timing when the compute instance is started. If the compute instance is still in the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b381812010713">Creating</strong> or <strong id="mrs_01_1731__en-us_topic_0000001173631202_b1581817013713">Starting</strong> state after the time specified by this parameter expires, the compute instance status is displayed as <strong id="mrs_01_1731__en-us_topic_0000001173631202_b198184010714">Error</strong> and the compute instance that is being created or started on Yarn is stopped.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.7%" headers="mcps1.3.3.2.3.2.1.1.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p16558231105214">300</p>
|
|
<p id="mrs_01_1731__en-us_topic_0000001173631202_p15558163195210">The value ranges from 1 to 2147483647.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li1755912319526">Set parameters in the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b3123331593">Coordinator Container Resource Configuration</strong> area. For details about the parameters, see <a href="#mrs_01_1731__en-us_topic_0000001173631202_table6559143115525">Table 2</a>.
|
|
<div class="tablenoborder"><a name="mrs_01_1731__en-us_topic_0000001173631202_table6559143115525"></a><a name="en-us_topic_0000001173631202_table6559143115525"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1731__en-us_topic_0000001173631202_table6559143115525" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters for configuring Coordinator container resources</caption><thead align="left"><tr id="mrs_01_1731__en-us_topic_0000001173631202_row16559113116522"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.2.3.2.4.1.1"><p id="mrs_01_1731__en-us_topic_0000001173631202_p10559123116527">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.41404140414041%" id="mcps1.3.3.2.3.2.1.2.3.2.4.1.2"><p id="mrs_01_1731__en-us_topic_0000001173631202_p1559331145219">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.25262526252625%" id="mcps1.3.3.2.3.2.1.2.3.2.4.1.3"><p id="mrs_01_1731__en-us_topic_0000001173631202_p1855953117524">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1731__en-us_topic_0000001173631202_row25591731205216"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p7559133116525">Container Memory (MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.41404140414041%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p755993175215">Memory size (MB) allocated by Yarn to a single container of the compute instance Coordinator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.25262526252625%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p6559163119529">Default value: 5120</p>
|
|
<p id="mrs_01_1731__en-us_topic_0000001173631202_p1355993115529">The value ranges from 1 to 2147483647.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row555911319529"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p555933119529">vcore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.41404140414041%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p205599319521">Number of vCPUs (vCores) allocated by Yarn to a single container of the compute instance Coordinator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.25262526252625%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p255953118525">Default value: 1</p>
|
|
<p id="mrs_01_1731__en-us_topic_0000001173631202_p65593316521">The value ranges from 1 to 2147483647.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row175593313529"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p17559103117523">Quantity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.41404140414041%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1655915314524">Number of containers allocated by Yarn to the compute instance Coordinator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.25262526252625%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1955973165216">Default value: 2</p>
|
|
<p id="mrs_01_1731__en-us_topic_0000001173631202_p19559123114527">The value ranges from 1 to 3.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row55591531195214"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p18559133119526">JVM</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.41404140414041%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p9559183116529">Log in to FusionInsight Manager and choose <strong id="mrs_01_1731__en-us_topic_0000001173631202_b111263930251513">Cluster</strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b101112025651513">Services</strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b84113265051513"><span id="mrs_01_1731__en-us_topic_0000001173631202_text161862570251513">HetuEngine</span></strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b77801173651513">Configurations</strong>. On the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b83469348351513">All Configurations</strong> tab page, search for <strong id="mrs_01_1731__en-us_topic_0000001173631202_b37899181151513">extraJavaOptions</strong>. The value of this parameter in the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b62048198751513">coordinator.jvm.config</strong> parameter file is the value of the JVM parameter.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.25262526252625%" headers="mcps1.3.3.2.3.2.1.2.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1155933145219">-</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li8561143125210">Set parameters in the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b476714514104">Worker Container Resource Configuration</strong> area. For details about the parameters, see <a href="#mrs_01_1731__en-us_topic_0000001173631202_table25611531175211">Table 3</a>.
|
|
<div class="tablenoborder"><a name="mrs_01_1731__en-us_topic_0000001173631202_table25611531175211"></a><a name="en-us_topic_0000001173631202_table25611531175211"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1731__en-us_topic_0000001173631202_table25611531175211" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters for configuring Worker container resources</caption><thead align="left"><tr id="mrs_01_1731__en-us_topic_0000001173631202_row0560113175210"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.3.3.2.4.1.1"><p id="mrs_01_1731__en-us_topic_0000001173631202_p15559231175211">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.324032403240324%" id="mcps1.3.3.2.3.2.1.3.3.2.4.1.2"><p id="mrs_01_1731__en-us_topic_0000001173631202_p1956053116525">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.342634263426344%" id="mcps1.3.3.2.3.2.1.3.3.2.4.1.3"><p id="mrs_01_1731__en-us_topic_0000001173631202_p17560203112523">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1731__en-us_topic_0000001173631202_row1856023116524"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1356043115521">Container Memory (MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.324032403240324%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1656023119523">Memory size (MB) allocated by Yarn to a single container of the compute instance Worker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.342634263426344%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p185604311522">Default value: 10240</p>
|
|
<p id="mrs_01_1731__en-us_topic_0000001173631202_p155606318526">The value ranges from 1 to 2147483647.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row756153115220"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1156015314526">vcore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.324032403240324%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p7561831155210">Number of vCPUs (vCores) allocated by Yarn to a single container of the compute instance Worker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.342634263426344%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1556143185219">Default value: 1</p>
|
|
<p id="mrs_01_1731__en-us_topic_0000001173631202_p9561831115220">The value ranges from 1 to 2147483647.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row5561153125210"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1456173185210">Quantity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.324032403240324%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p165611931115217">Number of containers allocated by Yarn to the compute instance Worker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.342634263426344%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p19561133125219">Default value: 2</p>
|
|
<p id="mrs_01_1731__en-us_topic_0000001173631202_p195611531185215">The value ranges from 1 to 256.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row1156110312528"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1561831155217">JVM</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.324032403240324%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p75611031165219">Log in to FusionInsight Manager and choose <strong id="mrs_01_1731__en-us_topic_0000001173631202_b174449867551513">Cluster</strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b73305475951513">Services</strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b24830379751513"><span id="mrs_01_1731__en-us_topic_0000001173631202_text125152351451513">HetuEngine</span></strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b205817457351513">Configurations</strong>. On the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b156882755251513">All Configurations</strong> tab page, search for <strong id="mrs_01_1731__en-us_topic_0000001173631202_b89989602951513">extraJavaOptions</strong>. The value of this parameter in the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b97999122451513">worker.jvm.config</strong> parameter file is the value of the JVM parameter.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.342634263426344%" headers="mcps1.3.3.2.3.2.1.3.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p10561133165211">-</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li15562183117527">Set parameters in the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b184591523106">Advanced Configuration</strong> area. For details about the parameters, see <a href="#mrs_01_1731__en-us_topic_0000001173631202_table15562731135211">Table 4</a>.
|
|
<div class="tablenoborder"><a name="mrs_01_1731__en-us_topic_0000001173631202_table15562731135211"></a><a name="en-us_topic_0000001173631202_table15562731135211"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1731__en-us_topic_0000001173631202_table15562731135211" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Advanced configuration parameters</caption><thead align="left"><tr id="mrs_01_1731__en-us_topic_0000001173631202_row656143175214"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.4.3.2.4.1.1"><p id="mrs_01_1731__en-us_topic_0000001173631202_p356113135216">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.4.3.2.4.1.2"><p id="mrs_01_1731__en-us_topic_0000001173631202_p35611531185211">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.4.3.2.4.1.3"><p id="mrs_01_1731__en-us_topic_0000001173631202_p11561193135213">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1731__en-us_topic_0000001173631202_row456223114525"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.4.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p2561031135211">Ratio of Query Memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.4.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p1562931155212">Ratio of the node query memory to the JVM memory. The default value is <strong id="mrs_01_1731__en-us_topic_0000001173631202_b174277907951513">0</strong>. When this parameter is set to <strong id="mrs_01_1731__en-us_topic_0000001173631202_b152529265551513">0</strong>, the calculation function is disabled.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.4.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p125621731195216">0</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1731__en-us_topic_0000001173631202_row18562173115528"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.4.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p17562331175210">Scaling</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.4.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p95621231135217">If auto scaling is enabled, you can increase or decrease the number of Workers without restarting the instance. However, the instance performance may deteriorate. For details about the parameters for enabling dynamic scaling, see <a href="mrs_01_2320.html">Adjusting the Number of Worker Nodes</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.4.3.2.4.1.3 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p145621031155217">OFF</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li135621231135216"><a name="mrs_01_1731__en-us_topic_0000001173631202_li135621231135216"></a><a name="en-us_topic_0000001173631202_li135621231135216"></a>Configure<strong id="mrs_01_1731__en-us_topic_0000001173631202_b82048424293"> Custom Configuration</strong> parameters. Choose <strong id="mrs_01_1731__en-us_topic_0000001173631202_b53671103551513">Advanced Configuration</strong> > <strong id="mrs_01_1731__en-us_topic_0000001173631202_b169873836751513">Custom Configuration</strong> and add custom parameters to the specified parameter file. Select the specified parameter file from the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b76343001751513">Parameter File</strong> drop-down list.<ul id="mrs_01_1731__en-us_topic_0000001173631202_ul145622031155211"><li id="mrs_01_1731__en-us_topic_0000001173631202_li1056243113523">You can click <strong id="mrs_01_1731__en-us_topic_0000001173631202_b138212930351513">Add</strong> to add custom configuration parameters.</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li2056211318528">You can click <strong id="mrs_01_1731__en-us_topic_0000001173631202_b4585357151513">Delete</strong> to delete custom configuration parameters.</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li14391672167"><strong id="mrs_01_1731__en-us_topic_0000001173631202_b173895010010">resource-groups.json</strong> takes effect only in the customized configuration of the Coordinator node. For details about the parameters for configuring resource groups, see <a href="#mrs_01_1731__en-us_topic_0000001173631202_table439014781612">Table 5</a>.
|
|
<div class="tablenoborder"><a name="mrs_01_1731__en-us_topic_0000001173631202_table439014781612"></a><a name="en-us_topic_0000001173631202_table439014781612"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1731__en-us_topic_0000001173631202_table439014781612" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Resource pool group parameters</caption><thead align="left"><tr id="mrs_01_1731__en-us_topic_0000001173631202_row8390672160"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.5.5.3.3.2.4.1.1"><p id="mrs_01_1731__en-us_topic_0000001173631202_p1639019741618">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.5.5.3.3.2.4.1.2"><p id="mrs_01_1731__en-us_topic_0000001173631202_p15390127191612">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.3.2.1.5.5.3.3.2.4.1.3"><p id="mrs_01_1731__en-us_topic_0000001173631202_p739017181612">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1731__en-us_topic_0000001173631202_row18390157111613"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.5.5.3.3.2.4.1.1 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p33901875166">resourcegroups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.5.5.3.3.2.4.1.2 "><p id="mrs_01_1731__en-us_topic_0000001173631202_p339037171620">Resource management group configuration of the cluster. Select <strong id="mrs_01_1731__en-us_topic_0000001173631202_b05371108111">resource-groups.json</strong> from the drop-down list of the parameter file.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.3.2.1.5.5.3.3.2.4.1.3 "><pre class="screen" id="mrs_01_1731__en-us_topic_0000001173631202_screen86214248231">{
|
|
"rootGroups": [{
|
|
"name": "global",
|
|
"softMemoryLimit": "100%",
|
|
"hardConcurrencyLimit": 1000,
|
|
"maxQueued": 10000
|
|
}],
|
|
"selectors": [{
|
|
"group": "global"
|
|
}]
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<div class="note" id="mrs_01_1731__en-us_topic_0000001173631202_note4894194014540"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_1731__en-us_topic_0000001173631202_p1091812533305">For the <strong id="mrs_01_1731__en-us_topic_0000001173631202_b087716112307">coordinator.config.properties</strong>, <strong id="mrs_01_1731__en-us_topic_0000001173631202_b9340165113011">worker.config.properties</strong>,<strong id="mrs_01_1731__en-us_topic_0000001173631202_b76298173011"> log.properties</strong>, and <strong id="mrs_01_1731__en-us_topic_0000001173631202_b7924712193014">resource-groups.json</strong> parameter files, if a user-defined parameter name already exists in the specified parameter file, the original parameter values in the parameter file are replaced with the customized parameter value. If the name of the custom parameter does not exist in the specified parameter file, the custom parameter is added to the specified parameter file.</p>
|
|
</div></div>
|
|
</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li3562531125214">Determine whether to start the instance immediately after the configuration is complete.<ul id="mrs_01_1731__en-us_topic_0000001173631202_ul145621631135218"><li id="mrs_01_1731__en-us_topic_0000001173631202_li356293155215">Select <strong id="mrs_01_1731__en-us_topic_0000001173631202_b1093112612342">Start Now</strong> to start the instance immediately after the configuration is complete.</li><li id="mrs_01_1731__en-us_topic_0000001173631202_li956243105217">Deselect <strong id="mrs_01_1731__en-us_topic_0000001173631202_b183799349340">Start Now</strong> and manually start the instance after the configuration is complete.</li></ul>
|
|
</li></ol>
|
|
</p></li><li id="mrs_01_1731__en-us_topic_0000001173631202_li0200131810497"><span>Click <strong id="mrs_01_1731__en-us_topic_0000001173631202_b1358888510">OK</strong> and wait until the instance configuration is complete.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1710.html">Using HetuEngine</a></div>
|
|
</div>
|
|
</div>
|
|
|