doc-exports/docs/mrs/api-ref/mrs_02_0101.html
Yang, Tong f1bf1560d6 MRS API Doc 20240802 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2024-09-28 19:01:52 +00:00

2080 lines
148 KiB
HTML

<a name="mrs_02_0101"></a><a name="mrs_02_0101"></a>
<h1 class="topictitle1">Creating Clusters</h1>
<div id="body1599638193445"><div class="section" id="mrs_02_0101__s37afee5a7f0344fa98179a36b0556841"><h4 class="sectiontitle">Function</h4><p id="mrs_02_0101__a648fea09e07040849568eb657b4a3748">This API is used to create an MRS cluster.</p>
<p id="mrs_02_0101__a32534d1b415e41e38cc4f72be0814024">Before using the API, you need to obtain the resources listed in <a href="#mrs_02_0101__tbbd2986d18874f82a8ab886ac25a57f8">Table 1</a>.</p>
<div class="tablenoborder"><a name="mrs_02_0101__tbbd2986d18874f82a8ab886ac25a57f8"></a><a name="tbbd2986d18874f82a8ab886ac25a57f8"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__tbbd2986d18874f82a8ab886ac25a57f8" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Obtaining resources</caption><thead align="left"><tr id="mrs_02_0101__rb8d7bb617c8e401d835b3c77bad750eb"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.1.4.2.3.1.1"><p id="mrs_02_0101__a7230cc50da2046438b7ce546b0df50b0">Resource</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="80%" id="mcps1.3.1.4.2.3.1.2"><p id="mrs_02_0101__abea8810be493490e91e9d5ba4b2a37f9">How to Obtain</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__r86ba4472ec2c4913adeb0cfbb9c5b679"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.4.2.3.1.1 "><p id="mrs_02_0101__afedb9fba77044b72981436b1c265fa34">VPC</p>
</td>
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.4.2.3.1.2 "><p id="mrs_02_0101__af90e107da77844efb1b16b47eb089751">See operation instructions in <span class="parmvalue" id="mrs_02_0101__parmvalue458414556244"><b>VPC &gt; Querying VPCs</b></span> and <span class="parmvalue" id="mrs_02_0101__parmvalue16584155192417"><b>VPC &gt; Creating a VPC</b></span> in the <i><cite id="mrs_02_0101__cite2043936821114847">VPC API Reference</cite></i>.</p>
</td>
</tr>
<tr id="mrs_02_0101__re8a14fa01edb4772ab9da326952a8401"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.4.2.3.1.1 "><p id="mrs_02_0101__affe524418f25422ab47ed9e2a3718584">Subnet</p>
</td>
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.4.2.3.1.2 "><p id="mrs_02_0101__ae4ce4a66af554a60b2cf8681be434531">See operation instructions in <span class="parmvalue" id="mrs_02_0101__parmvalue1551615511259"><b>Subnet &gt; Querying Subnets</b></span> and <span class="parmvalue" id="mrs_02_0101__parmvalue1851612512511"><b>Subnet &gt; Creating a Subnet</b></span> in the <i><cite id="mrs_02_0101__cite1739213419114847">VPC API Reference</cite></i>.</p>
</td>
</tr>
<tr id="mrs_02_0101__r2e91958f22114a4ca9dadd9bc99c9579"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.4.2.3.1.1 "><p id="mrs_02_0101__a9f9e837842c2421093ff2278b2799ac3">Key Pair</p>
</td>
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.4.2.3.1.2 "><p id="mrs_02_0101__a84edd7cf268441518c10fb14dd6caf19">See operation instructions in <span class="parmvalue" id="mrs_02_0101__parmvalue310042415259"><b>ECS SSH Key Management &gt; Querying SSH Key Pairs</b></span> and <span class="parmvalue" id="mrs_02_0101__parmvalue4100724122517"><b>ECS SSH Key Management &gt; Creating and Importing an SSH Key Pair</b></span> in the <i><cite id="mrs_02_0101__cite1557409544114847">ECS API Reference</cite></i>.</p>
</td>
</tr>
<tr id="mrs_02_0101__r7d55c3c90c82441f9f123f81dcf78e85"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.4.2.3.1.1 "><p id="mrs_02_0101__a95fc2f7c9caf4bb3bbbc6c25a58b7c7f">Zone</p>
</td>
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.4.2.3.1.2 "><p id="mrs_02_0101__aa5e85a0b34ff4c4e8ca5917c0827a0f6">Obtain the region and AZ information. For more information about regions and AZs, see <a href="https://docs.otc.t-systems.com/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__reda47ef0882f40ef9e8b0001b85173d2"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.4.2.3.1.1 "><p id="mrs_02_0101__aa6e817b43e73414d8d9207fc1a3ee9fc">Version</p>
</td>
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.4.2.3.1.2 "><p id="mrs_02_0101__a9334cfb209d64c8ea37b0d68bf5d34a2">Currently, MRS 3.1.2-LTS.6, MRS 3.2.0-LTS.2 and MRS 3.3.0-LTS.1 are supported.</p>
</td>
</tr>
<tr id="mrs_02_0101__r6144e644976b479a86047bcefe793c8a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.4.2.3.1.1 "><p id="mrs_02_0101__ac16550178799462ea759a53171a44ded">Component</p>
</td>
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.4.2.3.1.2 "><ul id="mrs_02_0101__ub1cf1cf2361e4c7b9323e3d82b9da2b3"><li id="mrs_02_0101__li147181012363">MRS 3.3.0-LTS supports the following components:<ul id="mrs_02_0101__ul0718190173617"><li id="mrs_02_0101__li57181707363">An analysis cluster contains the following components: Hadoop, Spark, HBase, Hive, Loader, Flink, Oozie, ZooKeeper, HetuEngine, Ranger, Tez, JobGateway, Guardian, and Doris.</li><li id="mrs_02_0101__li97181701368">A streaming cluster contains the following components: Kafka, Flume, ZooKeeper, and Ranger.</li><li id="mrs_02_0101__li971814013610">A hybrid cluster contains the following components: Hadoop, Spark, HBase, Hive, Loader, Flink, Oozie, ZooKeeper, HetuEngine, Ranger, Tez, Kafka, Flume, JobGateway, Guardian, and Doris.</li></ul>
<ul id="mrs_02_0101__ul1471810019362"><li id="mrs_02_0101__li1271816093617">A custom cluster contains the following components: Hadoop, Spark, HBase, Hive, Loader, Kafka, Flume, Flink, Oozie, ZooKeeper, HetuEngine, Ranger, Tez, and ClickHouse, Guardian, JobGateway, and Doris.</li></ul>
</li><li id="mrs_02_0101__li1232118205515">MRS 3.2.0-LTS.2 supports the following components:<ul id="mrs_02_0101__ul157991140114913"><li id="mrs_02_0101__li1583491211561">An analysis cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, Loader, Flink, Oozie, ZooKeeper, HetuEngine, Ranger, and Tez.</li><li id="mrs_02_0101__li53665416500">A streaming cluster contains the following components: Kafka, Flume, ZooKeeper, and Ranger.</li><li id="mrs_02_0101__li3555192216506">A hybrid cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, Loader, Flink, Oozie, ZooKeeper, HetuEngine, Ranger, Tez, Kafka, and Flume.</li></ul>
<ul id="mrs_02_0101__ul43217820557"><li id="mrs_02_0101__li9322182553">A custom cluster contains the following components: CDL, Hadoop, Spark2x, HBase, Hive, Hue, Loader, IoTDB, Kafka, Flume, Flink, Oozie, ZooKeeper, HetuEngine, Ranger, Tez, and ClickHouse.</li></ul>
</li><li id="mrs_02_0101__li115891437111816">MRS 3.1.2-LTS.6 supports the following components:<ul id="mrs_02_0101__ul36428231395"><li id="mrs_02_0101__li166426231694">The analysis cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, <span id="mrs_02_0101__text17642723893">HetuEngine</span>, Loader, Flink, Oozie, ZooKeeper, Ranger, and Tez.</li><li id="mrs_02_0101__li364292311912">The streaming cluster contains the following components: Kafka, Flume, ZooKeeper, and Ranger.</li><li id="mrs_02_0101__li126424231291">The hybrid cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, <span id="mrs_02_0101__text1264216231494">HetuEngine</span>, Loader, Flink, Oozie, ZooKeeper, Ranger, Tez, Kafka, and Flume.</li><li id="mrs_02_0101__li11642162314916">A custom cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, <span id="mrs_02_0101__text564216231491">HetuEngine</span>, Loader, Kafka, Flume, Flink, Oozie, ZooKeeper, Ranger, Tez, and ClickHouse.</li></ul>
</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="mrs_02_0101__section10186656193217"><h4 class="sectiontitle">URI</h4><ul id="mrs_02_0101__ul2809877319471"><li id="mrs_02_0101__li5177607319471">URI format<p id="mrs_02_0101__p20337652161112"><a name="mrs_02_0101__li5177607319471"></a><a name="li5177607319471"></a>POST /v2/{project_id}/clusters</p>
</li><li id="mrs_02_0101__li2957566119471">Parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table49499141194754" frame="border" border="1" rules="all"><caption><b>Table 2 </b>URI parameter</caption><thead align="left"><tr id="mrs_02_0101__row33700024194754"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="mrs_02_0101__p16571835194812">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="mrs_02_0101__p141410194812">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="mrs_02_0101__p11454278194812">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row6505449415356"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0101__p3492262515356">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="mrs_02_0101__p1016041415356">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="mrs_02_0101__p1768719515356">Project ID. For details on how to obtain the project ID, see <a href="mrs_02_0011.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="mrs_02_0101__section7976792193238"><h4 class="sectiontitle">Request</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__t352e878f834349219bc14d236769d2dc" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameter description</caption><thead align="left"><tr id="mrs_02_0101__re983cdf247ec452f85b2bde422b984b9"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.2.5.1.1"><p id="mrs_02_0101__a2a61b82bf43946429e79489ebaf3ff69">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.2.5.1.2"><p id="mrs_02_0101__abb89a1c172364c0581c70ff6c18f10e5">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.2.5.1.3"><p id="mrs_02_0101__en-us_topic_0110581924_p748325710328">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.2.2.5.1.4"><p id="mrs_02_0101__en-us_topic_0110581924_p216409810328">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__rf33c21d0560547b187d77d486dac3e0b"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p108944568143">cluster_version</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p98940563148">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p1389418568140">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p8894195611412">Cluster version.</p>
<p id="mrs_02_0101__p1389417561143">Possible values are as follows:</p>
<ul id="mrs_02_0101__ul894116248197"><li id="mrs_02_0101__li330673912112">MRS 3.1.2-LTS.6</li><li id="mrs_02_0101__li1621451811490">MRS 3.2.0-LTS.2</li><li id="mrs_02_0101__li1115893221014">MRS 3.3.0-LTS.1</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row1851623661413"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p178951056101413">cluster_name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p1489565671413">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p189515620149">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p1489555641410">Cluster name. It must be unique.</p>
<p id="mrs_02_0101__p8895856101418">A cluster name can contain only 2 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
</td>
</tr>
<tr id="mrs_02_0101__row145591742131411"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p17895256131413">cluster_type</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p188952056161415">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p198959560145">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p12895156191412">Cluster type. The options are as follows:</p>
<ul id="mrs_02_0101__ul489518568147"><li id="mrs_02_0101__li1389515611145"><strong id="mrs_02_0101__b19294925193811">ANALYSIS</strong>: analysis cluster</li><li id="mrs_02_0101__li138959562149"><strong id="mrs_02_0101__b1636402614385">STREAMING</strong>: streaming cluster</li><li id="mrs_02_0101__li78954567149"><strong id="mrs_02_0101__b5507192763818">MIXED</strong>: hybrid cluster</li><li id="mrs_02_0101__li78953563147"><strong id="mrs_02_0101__b189971147135811">CUSTOM</strong>: customized cluster, which is supported only by MRS 3.x.x.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row57801542151411"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p8895145615149">charge_info</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p1289545691419">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p138951656141412">ChargeInfo</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p689585611412">Charging type information. For details, see <a href="#mrs_02_0101__table1164193817438">Table 6</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row11974104201420"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p13896456181416">region</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p1896956151411">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p98961056161412">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p104194272466">Region of the cluster. For details, see <a href="https://docs.otc.t-systems.com/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row1119234310145"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p98969566140">vpc_name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p1189675610149">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p2896156131420">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p489635601413">Name of the VPC where the subnet locates</p>
<p id="mrs_02_0101__p1589615641410">Perform the following operations to obtain the VPC name from the VPC management console:</p>
<ol id="mrs_02_0101__ol98961356131419"><li id="mrs_02_0101__li1896185611416">Log in to the management console.</li><li id="mrs_02_0101__li1689665681419">Click <strong id="mrs_02_0101__b866037092114847">Virtual Private Cloud</strong> and select <strong id="mrs_02_0101__b1347898902114847">Virtual Private Cloud</strong> from the left list.</li></ol>
<p id="mrs_02_0101__p38963567141">On the <strong id="mrs_02_0101__b1459209519114847">Virtual Private Cloud</strong> page, obtain the VPC name from the list.</p>
</td>
</tr>
<tr id="mrs_02_0101__row53861143131410"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p188961256181415">subnet_name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p889619567146">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p88966566142">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p6896856121412">Subnet name.</p>
<p id="mrs_02_0101__p889665611142">Perform the following operations to obtain the subnet name from the VPC management console:</p>
<ol id="mrs_02_0101__ol18896125618147"><li id="mrs_02_0101__li38961356111414">Log in to the management console.</li><li id="mrs_02_0101__li128961356131411">Click <strong id="mrs_02_0101__b177428945114847">Virtual Private Cloud</strong> and select <strong id="mrs_02_0101__b1912577041114847">Virtual Private Cloud</strong> from the left list.</li></ol>
<p id="mrs_02_0101__p789619562149">On the <strong id="mrs_02_0101__b1631774235114847">Virtual Private Cloud</strong> page, obtain the subnet name of the VPC from the list.</p>
</td>
</tr>
<tr id="mrs_02_0101__row125873435147"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p189605671414">components</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p16896195612147">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p1989612564143">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p789625610145">List of component names, which are separated by commas (,). For details about the component names, see the component list of each version in <a href="#mrs_02_0101__tbbd2986d18874f82a8ab886ac25a57f8">Table 1</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row168916447141"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p18896195619141">availability_zone</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p15896356161412">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p178971956181411">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p138971756181414">Name of an AZ.</p>
<p id="mrs_02_0101__p2897156131415">AZ information. For details, see <a href="https://docs.otc.t-systems.com/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row21711544201414"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p7897175611412">security_groups_id</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p20897155651413">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p128979563140">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p14897156121416">Security group ID of the cluster</p>
<ul id="mrs_02_0101__ul81965217266"><li id="mrs_02_0101__li019352102619">If this parameter is left blank, MRS automatically creates a security group, whose name starts with <strong id="mrs_02_0101__b1279884538114847">mrs_{cluster_name}</strong>.</li><li id="mrs_02_0101__li14398185611268">If this parameter is not left blank, a fixed security group is used to create a cluster. The transferred ID must be the security group ID owned by the current tenant. The security group must include an inbound rule in which all protocols and all ports are allowed and the source is the IP address of the specified node on the management plane.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row22701944111414"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p189735671411">safe_mode</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p1089715562148">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p6897356131412">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p189715651420">Running mode of an MRS cluster</p>
<ul id="mrs_02_0101__ul989735614147"><li id="mrs_02_0101__li1389785641412"><strong id="mrs_02_0101__b149312444218">SIMPLE</strong>: normal cluster. In a normal cluster, Kerberos authentication is disabled, and users can use all functions provided by the cluster.</li><li id="mrs_02_0101__li1889785641411"><strong id="mrs_02_0101__b841907630114847">KERBEROS</strong>: security cluster. In a security cluster, Kerberos authentication is enabled, and common users cannot use the file management and job management functions of an MRS cluster or view cluster resource usage and the job records of Hadoop and Spark. To use more cluster functions, the users must contact the Manager administrator to assign more permissions.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row14367544131418"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p78989563144">manager_admin_password</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p389875619149">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p14898256181417">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p1389815618143">Password of the MRS Manager administrator.</p>
<ul id="mrs_02_0101__ul20898165691418"><li id="mrs_02_0101__li11898956121414">Must be a string and 8 to 32 characters long.</li><li id="mrs_02_0101__li689835617147">The password must contain at least three types of the following characters (if the value of cluster_version is FusionInsight 6.5.1, the password must contain at least four types of the following characters):<ul id="mrs_02_0101__ul1389813568143"><li id="mrs_02_0101__li78989560143">Lowercase letters</li><li id="mrs_02_0101__li14898125641419">Uppercase letters</li><li id="mrs_02_0101__li17898195671414">Digits</li><li id="mrs_02_0101__li17898105611411">Special characters: `~!@#$%^&amp;*()-_=+\|[{}];:'",&lt;.&gt;/?</li><li id="mrs_02_0101__li1089895631413">Spaces</li></ul>
</li><li id="mrs_02_0101__li17898185614142">Cannot be the username or the username spelled backwards.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row20570124417141"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p389845614142">login_mode</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p1789817563146">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p78996569145">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p1389975601418">Node login mode.</p>
<ul id="mrs_02_0101__ul1489918562147"><li id="mrs_02_0101__li1689919562148"><strong id="mrs_02_0101__b25410734310">PASSWORD</strong>: password-based login. If this value is selected, <strong id="mrs_02_0101__b7875313154319">node_root_password</strong> cannot be left blank.</li><li id="mrs_02_0101__li1189916565148"><strong id="mrs_02_0101__b137019174436">KEYPAIR</strong>: specifies the key pair used for login. If this value is selected,<strong id="mrs_02_0101__b14591235438"> node_keypair_name</strong> cannot be left blank.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row18781844161413"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p1989913562143">node_root_password</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p20899115611411">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p108991356191412">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p1189945620149">Password of user <strong id="mrs_02_0101__b1687770281114847">root</strong> for logging in to a cluster node</p>
<p id="mrs_02_0101__p17899135613145">A password must meet the following requirements:</p>
<ul id="mrs_02_0101__ul16899356171411"><li id="mrs_02_0101__li88996561140">Must be a string and 8 to 26 characters long.</li><li id="mrs_02_0101__li789985613144">Must contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?), but must not contain spaces.</li><li id="mrs_02_0101__li19221720122">Cannot be the username or the username spelled backwards.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row16908124441416"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p789975612148">node_keypair_name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p98991456171418">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p16899156181417">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p2089965651411">Name of a key pair You can use a key pair to log in to the Master node in the cluster.</p>
</td>
</tr>
<tr id="mrs_02_0101__row1970643161915"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__a0850f085eedf43e0b3b1db28acefdd2f">log_collection</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__ab0530a1ecdeb4c0bbec752b732cd96a9">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__en-us_topic_0110581924_p866360175815">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__aa23b3e822680412e9be93ea7e2babc14">Whether to collect logs when cluster creation fails</p>
<ul id="mrs_02_0101__u34c5777de77a452d9fda2b3813e7127b"><li id="mrs_02_0101__la8133e9b6fab454293ff5e8f784692a3"><strong id="mrs_02_0101__b933312702810">0</strong>: Do not collect.</li><li id="mrs_02_0101__l265859834bbd4bb69d789becab399922"><strong id="mrs_02_0101__b1483031142814">1</strong>: Collect.</li></ul>
<p id="mrs_02_0101__a343eafaf494045edae28e20940d7acd0">The default value is <strong id="mrs_02_0101__b519217713712">1</strong>, indicating that OBS buckets will be created and only used to collect logs that record MRS cluster creation failures.</p>
</td>
</tr>
<tr id="mrs_02_0101__row1531512451146"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p10900256161417">eip_address</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p590065615149">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p169001356181412">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p2090005611147">An EIP bound to an MRS cluster can be used to access MRS Manager. The EIP must have been created and must be in the same region as the cluster.</p>
</td>
</tr>
<tr id="mrs_02_0101__row154316453143"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p19008568140">mrs_ecs_default_agency</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p7900185611419">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p4900125681416">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p149001856151414">Name of the agency bound to a cluster node by default. The value is fixed to <strong id="mrs_02_0101__b20261133917439">MRS_ECS_DEFAULT_AGENCY</strong>.</p>
<p id="mrs_02_0101__p740872813913">An agency allows ECS or BMS to manage MRS resources. You can configure an agency of the ECS type to automatically obtain the AK/SK to access OBS.</p>
<p id="mrs_02_0101__p5919131831716">The <strong id="mrs_02_0101__b23613919610">MRS_ECS_DEFAULT_AGENCY</strong> agency has the OBS OperateAccess permission of OBS and the CES FullAccess (for users who have enabled fine-grained policies), CES Administrator, and KMS Administrator permissions in the region where the cluster is located.</p>
</td>
</tr>
<tr id="mrs_02_0101__row16647614366"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p196641364369">template_id</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p18318122104912">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p1731912215496">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p4467420183716">For <strong id="mrs_02_0101__b1477318574449">Custom</strong> cluster type, it is used to specify the common node configurations used for deployment.</p>
<ul id="mrs_02_0101__ul13224184513438"><li id="mrs_02_0101__li663410120444">mgmt_control_combined_v2: indicates the <strong id="mrs_02_0101__b1530858164516">Compact</strong> configuration. The management node and control node are deployed on the Master node, and data instances are deployed in the same node group. This deployment mode applies to scenarios where the number of control nodes is less than 100, reducing costs.</li><li id="mrs_02_0101__li12375151074420">mgmt_control_separated_v2: indicates the <strong id="mrs_02_0101__b87332469481">OMS-separate</strong> configuration. The management node and control node are deployed on different Master nodes, and data instances are deployed in the same node group. This deployment mode is applicable to a cluster with 100 to 500 control nodes and delivers better performance in high-concurrency load scenarios.</li><li id="mrs_02_0101__li422444584310">mgmt_control_data_separated_v2: indicates the <strong id="mrs_02_0101__b7552105364915">Full-size</strong> configuration. The management node and control node are deployed on different Master nodes, and data instances are deployed in different node groups. This deployment mode is applicable to a cluster with more than 500 control nodes. Components can be deployed separately, which can be used for a larger cluster scale.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row375811451143"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p17900135613148">tags</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p99005567141">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p15900165613149">Array of Tag</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p159004562147">Cluster tag For more parameter description, see <a href="#mrs_02_0101__table16429741613">Table 4</a>.</p>
<p id="mrs_02_0101__p3111954120">A maximum of 10 tags can be added to a cluster.</p>
</td>
</tr>
<tr id="mrs_02_0101__row169701045171412"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p12900145661411">node_groups</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p19900175661410">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p59001256181410">Array of NodeGroup</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p1123621717134">Information about the node groups in the cluster. For details about the parameters, see <a href="#mrs_02_0101__table3419221413">Table 5</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row2939462146"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p1690112564142">bootstrap_scripts</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p109011456191418">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p7901125611413">Array of BootstrapScript</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p9901155651410">Bootstrap action script information. For more parameter description, see <a href="#mrs_02_0101__table1258382865010">Table 8</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row1298174611142"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0101__p209011356131410">add_jobs</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0101__p1901105611144">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0101__p1590114567145">Array of AddJobReq</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0101__p1890115601416">Jobs can be submitted when a cluster is created. Currently, only one job can be created. For details about job parameters, see <a href="#mrs_02_0101__t8ded0b3ae11742cea98a467ce26fd093">Table 9</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__table16429741613"></a><a name="table16429741613"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table16429741613" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Tag structure</caption><thead align="left"><tr id="mrs_02_0101__row6447741616"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.3.2.5.1.1"><p id="mrs_02_0101__p1435052618610">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.3.2.5.1.2"><p id="mrs_02_0101__p435018263619">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.3.2.5.1.3"><p id="mrs_02_0101__p93509261668">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.3.2.5.1.4"><p id="mrs_02_0101__p2350162614619">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row124947121617"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0101__p18491073163">key</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0101__p203973131964">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0101__p0492712166">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0101__p526171219284">Tag key.</p>
<ul id="mrs_02_0101__ul101393142284"><li id="mrs_02_0101__li157431530172916">It contains a maximum of 36 Unicode characters and cannot be an empty string.</li><li id="mrs_02_0101__li17139814132811">The tag key can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).</li><li id="mrs_02_0101__li12817116142815">The tag key of a resource must be unique.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row17501761611"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0101__p115087181618">value</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0101__p9397813461">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0101__p35027201610">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0101__p20875218132814">Value.</p>
<ul id="mrs_02_0101__ul1956412082819"><li id="mrs_02_0101__li569514273296">The value can contain 0 to 43 unicode characters that can be blank.</li><li id="mrs_02_0101__li105641520152812">The tag value can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__table3419221413"></a><a name="table3419221413"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table3419221413" frame="border" border="1" rules="all"><caption><b>Table 5 </b>NodeGroup structure description</caption><thead align="left"><tr id="mrs_02_0101__row542122254113"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.4.2.5.1.1"><p id="mrs_02_0101__ac5b05a50f1f449e4829d3b701b028fe2">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.4.2.5.1.2"><p id="mrs_02_0101__a1ef8f3ea1ee446c3a34004f02f68d2a2">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.4.2.5.1.3"><p id="mrs_02_0101__ac7fa178142ca41c897a022a79776a4c1">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.4.2.5.1.4"><p id="mrs_02_0101__aa2dd3eb1004e44b18b66f0ed21feabde">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row1161113116431"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__afe75ebe77df44ab89ab2c60e82a450b3">group_name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__aca7f1aca59d4415ca8f75591d8928680">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__ace2cc4b377a641aa8747c2a68e6d4591">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__a3fb79d47e2a444a18636983dc1cc92ea">Node group name. The value can contain a maximum of 64 characters, including uppercase and lowercase letters, arrays, hyphens (-), and underscores (_). The rules for configuring node groups are as follows:</p>
<ul id="mrs_02_0101__ul6633524183"><li id="mrs_02_0101__li863412414811"><strong id="mrs_02_0101__b1899755418469">master_node_default_group</strong>: Master node group, which must be included in all cluster types.</li><li id="mrs_02_0101__li117894572088"><strong id="mrs_02_0101__b11199205884613">core_node_analysis_group</strong>: analysis Core node group, which must be contained in the analysis cluster and hybrid cluster.</li><li id="mrs_02_0101__li179601851916"><strong id="mrs_02_0101__b1762319119470">core_node_streaming_group</strong>: indicates the streaming Core node group, which must be included in both streaming and hybrid clusters.</li><li id="mrs_02_0101__li691482014916"><strong id="mrs_02_0101__b3422164471">task_node_analysis_group</strong>: Analysis Task node group. This node group can be selected for analysis clusters and hybrid clusters as required.</li><li id="mrs_02_0101__li197442813913"><strong id="mrs_02_0101__b119041104714">task_node_streaming_group</strong>: streaming Task node group. This node group can be selected for streaming clusters and hybrid clusters as required.</li><li id="mrs_02_0101__li7346152313442"><strong id="mrs_02_0101__b55021314154710">node_group{x}</strong>: node group of the customized cluster. You can add multiple node groups as required. A maximum of nine node groups can be added.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row511171284317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__a5e17d98037cf4608aaf377cb6b0c86b7">node_num</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__a6c20baa79b64403cb8b9fc5ef00ccbb0">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__ac9dd37c13c6141cd9a74755f29d9af55">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__aaf7587a5c0c64866882c3d29985abf07">Number of nodes. The value ranges from 0 to 500. The maximum number of Core and Task nodes is 500.</p>
</td>
</tr>
<tr id="mrs_02_0101__row2033381220431"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__p262895120102">node_size</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__p116282511106">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__p262825121013">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__p1529211231340">Instance specifications of a node. for example, <strong id="mrs_02_0101__b7771132295017">c6.4xlarge4.linux.mrs</strong> MRS supports host specifications determined by CPU, memory, and disk space. For details about instance specifications, see <a href="mrs_01_9005.html">ECS Specifications Used by MRS</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row165706581353"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__p1257195818355">root_volume</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__p5745161511368">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__p474520152362">Volume</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__p3572165813355">Specifies the system disk information of the node. This parameter is optional for some VMs or the system disk of the BMS. This parameter is mandatory in other cases. For details about the parameter description, see <a href="#mrs_02_0101__table5775844185911">Table 7</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row1637316132436"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__a27ba293135154d6d94eb6bc79198b8ab">data_volume</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__ad782832270034d39bfcbd0b27ad62ad3">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__ab9719faf14ac41dfac5a5779b0385589">Volume</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__p133425244381">Data disk information. This parameter is mandatory when <strong id="mrs_02_0101__b15955844104812">data_volume_count</strong> is not 0. For details about this parameter, see Table 4-7.</p>
</td>
</tr>
<tr id="mrs_02_0101__row2683131354313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__a9e389b0995234188b5eb79a1c7acdc46">data_volume_count</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__a260b4d2cb2c54aa1aa68a3f103a42294">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__a2dcb2e9428704ac8b9cdc32ad0ad7d0b">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__a800a2baf0b4b49308498f37519a9ae25">Number of data disks of a node.</p>
<p id="mrs_02_0101__a8d0b230d64554621b5e8369ddece3891">Value range: 0 to 10</p>
</td>
</tr>
<tr id="mrs_02_0101__row1798821312434"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__p079132416416">charge_info</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__p979132416419">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__p179624184114">ChargeInfo</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__p479182413414">Billing type of the node group. The billing types of Master and Core node groups are the same as those of the cluster. The billing type of the Task node group can be different from that of the cluster.</p>
</td>
</tr>
<tr id="mrs_02_0101__row9314114164315"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__p207919242417">auto_scaling_policy</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__p10793242418">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__p117972464115">AutoScalingPolicy</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__p127972494116">Autoscaling rule corresponding to the node group. For details about the parameters, see <a href="#mrs_02_0101__t6d6054a35d6342dc9dc5b3b8580fec7c">Table 10</a>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row107482138412"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0101__p1285593910713">assigned_roles</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0101__p128555391673">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0101__p78551439272">Array of String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0101__p7855739379">When the cluster type is <strong id="mrs_02_0101__b48318634915">CUSTOM</strong>, this parameter is mandatory. You can specify the roles deployed in the node group. This parameter is a string array. Each string represents a role expression.</p>
<p id="mrs_02_0101__p118551539773">Role expression definition:</p>
<ul id="mrs_02_0101__ul185583910719"><li id="mrs_02_0101__li2855113917715">If the role is deployed on all nodes in the node group, set this parameter to <em id="mrs_02_0101__i560582844912">&lt;role name&gt;</em>, for example, <strong id="mrs_02_0101__b199369249494">DataNode</strong>.</li><li id="mrs_02_0101__li15855539177">If the role is deployed on a specified subscript node in the node group: <em id="mrs_02_0101__i12559845134915">&lt;role name&gt;:&lt;index1&gt;,&lt;index2&gt;..., &lt;indexN&gt;</em>, for example, <strong id="mrs_02_0101__b1796104174914">NameNode:1,2</strong>. The subscript starts from 1.</li><li id="mrs_02_0101__li1485514391273">Some roles support multi-instance deployment (that is, multiple instances of the same role are deployed on a node): <em id="mrs_02_0101__i12505155818490">&lt;role name&gt;[&lt;instance count&gt;</em>], for example, <strong id="mrs_02_0101__b37512375011">EsNode[9]</strong>.</li></ul>
<p id="mrs_02_0101__p157651056141719">For details about available roles, see <a href="mrs_02_0106.html">Roles and components supported by MRS</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__table1164193817438"></a><a name="table1164193817438"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table1164193817438" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ChargeInfo structure description</caption><thead align="left"><tr id="mrs_02_0101__row12647389437"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.5.2.5.1.1"><p id="mrs_02_0101__p320235184517">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.5.2.5.1.2"><p id="mrs_02_0101__p1620218514453">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.5.2.5.1.3"><p id="mrs_02_0101__p162026514513">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.5.2.5.1.4"><p id="mrs_02_0101__p32023516453">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row3641238194313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.5.2.5.1.1 "><p id="mrs_02_0101__p161682457453">charge_mode</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.5.2.5.1.2 "><p id="mrs_02_0101__p416813458455">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.5.2.5.1.3 "><p id="mrs_02_0101__p51689458450">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.5.2.5.1.4 "><p id="mrs_02_0101__p11681545134517">Billing mode</p>
<p id="mrs_02_0101__p71687457455">The value of this parameter can be:</p>
<ul id="mrs_02_0101__ul216818456456"><li id="mrs_02_0101__li116834554511"><strong id="mrs_02_0101__b187991747165015">postPaid</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__table5775844185911"></a><a name="table5775844185911"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table5775844185911" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Volume field data structure description</caption><thead align="left"><tr id="mrs_02_0101__row277654410596"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.6.2.5.1.1"><p id="mrs_02_0101__p3776174419595">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.6.2.5.1.2"><p id="mrs_02_0101__p17776114413592">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.6.2.5.1.3"><p id="mrs_02_0101__p3776114415593">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.6.2.5.1.4"><p id="mrs_02_0101__p15776174412598">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row157766443592"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.1 "><p id="mrs_02_0101__p17786111511011">type</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.6.2.5.1.2 "><p id="mrs_02_0101__p17862151606">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.6.2.5.1.3 "><p id="mrs_02_0101__p678651519019">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.6.2.5.1.4 "><p id="mrs_02_0101__p19786115104">Disk Type</p>
<p id="mrs_02_0101__p147861315803">The following disk types are supported:</p>
<ul id="mrs_02_0101__ul10786915309"><li id="mrs_02_0101__li18786015900"><strong id="mrs_02_0101__b1150242117114847">SATA</strong>: common I/O disk</li><li id="mrs_02_0101__li77864151301"><strong id="mrs_02_0101__b719393092114847">SAS</strong>: high I/O disk</li><li id="mrs_02_0101__li278619152003"><strong id="mrs_02_0101__b834756234114847">SSD</strong>: ultra-high I/O disk</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row12701411018"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.1 "><p id="mrs_02_0101__p107864151205">size</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.6.2.5.1.2 "><p id="mrs_02_0101__p137862153014">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.6.2.5.1.3 "><p id="mrs_02_0101__p47864152016">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.6.2.5.1.4 "><p id="mrs_02_0101__p07860151905">Specifies the data disk size, in GB. The value range is <strong id="mrs_02_0101__b842352706192054">10</strong> to <strong id="mrs_02_0101__b842352706192058">32768</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__table1258382865010"></a><a name="table1258382865010"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table1258382865010" frame="border" border="1" rules="all"><caption><b>Table 8 </b>BootstrapScript structure description</caption><thead align="left"><tr id="mrs_02_0101__row16585132875017"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.7.2.5.1.1"><p id="mrs_02_0101__p2058552815010">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.7.2.5.1.2"><p id="mrs_02_0101__p4585152815505">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.7.2.5.1.3"><p id="mrs_02_0101__p145856289503">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.7.2.5.1.4"><p id="mrs_02_0101__p35851281504">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row19585182815014"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0101__p0223193618537">name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0101__p1322353616531">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0101__p1422373615314">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0101__p27361059145112">Name of a bootstrap action script. It must be unique in a cluster.</p>
<p id="mrs_02_0101__p1768234115215">The value can contain only digits, letters, spaces, hyphens (-), and underscores (_) and must not start with a space.</p>
<p id="mrs_02_0101__p35651138195212">The value can contain 1 to 64 characters.</p>
</td>
</tr>
<tr id="mrs_02_0101__row55851328175016"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0101__p132232362536">uri</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0101__p12223123614537">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0101__p16223183655320">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0101__p13373112592717">Path of a bootstrap action script. Set this parameter to an OBS bucket path or a local VM path.</p>
<ul id="mrs_02_0101__ul129121753017"><li id="mrs_02_0101__li0926136133010">OBS bucket path: Enter a script path manually. For example, enter the path of the public sample script provided by MRS. Example: <strong id="mrs_02_0101__b452180954114847">s3a://bootstrap/presto/presto-install.sh</strong>. If <strong id="mrs_02_0101__b292443322114847">dualroles</strong> is installed, the parameter of the <strong id="mrs_02_0101__b921794213114847">presto-install.sh</strong> script is <strong id="mrs_02_0101__b1067931108114847">dualroles</strong>. If <strong id="mrs_02_0101__b948765857114847">worker</strong> is installed, the parameter of the <strong id="mrs_02_0101__b1537563790114847">presto-install.sh</strong> script is <strong id="mrs_02_0101__b1717325057114847">worker</strong>. Based on the Presto usage habit, you are advised to install <strong id="mrs_02_0101__b926086415114847">dualroles</strong> on the active Master nodes and <strong id="mrs_02_0101__b1228099093114847">worker</strong> on the Core nodes.</li><li id="mrs_02_0101__li12890919103016">Local VM path: Enter a script path. The script path must start with a slash (/) and end with <strong id="mrs_02_0101__b874019390114847">.sh</strong>.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row11585122835019"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0101__p32231936175317">parameters</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0101__p2223193615533">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0101__p322373685317">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0101__p28581637172215">Bootstrap action script parameters.</p>
</td>
</tr>
<tr id="mrs_02_0101__row2058516287502"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0101__p7694821145413">nodes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0101__p42231036165313">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0101__p1822313612539">Array String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0101__p12585928145012">Type of a node where the bootstrap action script is executed. The value can be <strong id="mrs_02_0101__b1657238143114847">Master</strong>, <strong id="mrs_02_0101__b1779773134114847">Core</strong>, or <strong id="mrs_02_0101__b1460953039114847">Task</strong>.</p>
</td>
</tr>
<tr id="mrs_02_0101__row4757171219539"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0101__p19223203615313">active_master</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0101__p92233362534">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0101__p152231536145317">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0101__p207581812185316">Whether the bootstrap action script runs only on active Master nodes.</p>
<p id="mrs_02_0101__p1919931141119">The default value is <strong id="mrs_02_0101__b338815248114847">false</strong>, indicating that the bootstrap action script can run on all Master nodes.</p>
</td>
</tr>
<tr id="mrs_02_0101__row12296121585317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0101__p965715541023">before_component_start</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0101__p7224153625312">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0101__p12224173635317">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0101__p11296615135311">Time when the bootstrap action script is executed. Currently, the following two options are available: <strong id="mrs_02_0101__b674606550114847">Before component start</strong> and <strong id="mrs_02_0101__b265407755114847">After component start</strong></p>
<p id="mrs_02_0101__p172869585132">The default value is <strong id="mrs_02_0101__b129484192114847">false</strong>, indicating that the bootstrap action script is executed after the component is started.</p>
</td>
</tr>
<tr id="mrs_02_0101__row1193251913537"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0101__p132241936165315">fail_action</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0101__p022443635318">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0101__p3224113655314">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0101__p4700154617299">Whether to continue executing subsequent scripts and creating a cluster after the bootstrap action script fails to be executed.</p>
<ul id="mrs_02_0101__ul18391113413191"><li id="mrs_02_0101__li1339113413193"><strong id="mrs_02_0101__b780337956114847">continue</strong>: Continue to execute subsequent scripts.</li><li id="mrs_02_0101__li1778394091917"><strong id="mrs_02_0101__b776507144114847">errorout</strong>: Stop the action.</li></ul>
<div class="p" id="mrs_02_0101__p1818026201614">The default value is <strong id="mrs_02_0101__b729200476114847">errorout</strong>, indicating that the action is stopped.<div class="note" id="mrs_02_0101__note796819345579"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_02_0101__p6994625143710">You are advised to set this parameter to <strong id="mrs_02_0101__b258802754114847">continue</strong> in the commissioning phase so that the cluster can continue to be installed and started no matter whether the bootstrap action is successful.</p>
</div></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__t8ded0b3ae11742cea98a467ce26fd093"></a><a name="t8ded0b3ae11742cea98a467ce26fd093"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__t8ded0b3ae11742cea98a467ce26fd093" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Parameters in AddJobReq</caption><thead align="left"><tr id="mrs_02_0101__r1406471483f44e598e5093114179e024"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.8.2.5.1.1"><p id="mrs_02_0101__a11b4047a0dff4f028e4039ab650d8b53">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.8.2.5.1.2"><p id="mrs_02_0101__a2c3cfcf9d8214be9aa459fb5556232d8">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.8.2.5.1.3"><p id="mrs_02_0101__a95ee1f9181e0433fa8e16c8796a9432f">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.8.2.5.1.4"><p id="mrs_02_0101__a067577438c5947b888a4e71fcaaea88c">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__r5f2c4162393343e1ba734ba5391b97ef"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__a869331fce762494390ec8dc5e4a0ba82">job_type</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__ae231a7fd6f8543c0b9fa1f5c541016cf">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a6fdcaa9f137e4975a1c031c7f9e90c9f">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__en-us_topic_0110581924_p336024810328">Job type code</p>
<ul id="mrs_02_0101__u1bbe8e3884694971a9802247a68566f7"><li id="mrs_02_0101__lb310966a10a24733861a42375e673cad">1: MapReduce</li><li id="mrs_02_0101__ld4bb6d15ff7d45a3bae9b665e83233fe">2: Spark</li><li id="mrs_02_0101__ldf98e17be2f149a78dff3ae15d87432d">3: Hive Script</li><li id="mrs_02_0101__l45875da98f844cb88704a5c96175f85c">4: HiveQL (not supported currently)</li><li id="mrs_02_0101__la32fd2f0554e40098c58efa240cddfa0">5: DistCp, importing and exporting data (not supported currently)</li><li id="mrs_02_0101__l93c857eec7944c02b9679139c79e99f7">6: Spark Script</li><li id="mrs_02_0101__l8f2edbe05d344c63b457b1646b944681">7: Spark SQL, submitting Spark SQL statements (not supported currently).<div class="note" id="mrs_02_0101__n0a1813ff8eb84d79a4b2f13af6d5a8a7"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_02_0101__a244a862f23ea434e9723f1464f6a1ea0">Spark and Hive jobs can be added to only clusters that include Spark and Hive components.</p>
</div></div>
</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__ra545977a99554f39be9d31a370f955f6"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__en-us_topic_0110581924_p364797810328">job_name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__ae9ec2aa05bc546b59f93bfebadb7cb2d">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__aedf5aa2a6956470f9c5513a81aadce02">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__a03bb9947168d4aa48229842da6245f3f">Job name. It contains 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
<div class="note" id="mrs_02_0101__neab0e91a89844387a6d28e3383b1a591"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_02_0101__a824e620530bd493bafaa3eec44e70778">Identical job names are allowed but not recommended.</p>
</div></div>
</td>
</tr>
<tr id="mrs_02_0101__ra1cb5f7d11664ec2b090c4bc92028564"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__aae5cb8363c8d4ec696600e7394dcf09c">jar_path</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__en-us_topic_0110581924_p287569010328">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a24ef09ee03894d78a2c14fb60ef8a608">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__en-us_topic_0110581924_p981695710328">Path of the JAR or SQL file for program execution. The parameter must meet the following requirements:</p>
<ul id="mrs_02_0101__ue3629268b08343339d7421380a9d1653"><li id="mrs_02_0101__lc266cc7b2aee4c96a9886ac1bf19615f">Contains a maximum of 1,023 characters, excluding special characters such as ;|&amp;&gt;&lt;'$. The parameter value cannot be empty or full of spaces.</li><li id="mrs_02_0101__l8c1b51dadafe4b92aef5a232f33176c8">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0101__en-us_topic_0110581924_ul56833471484"><li id="mrs_02_0101__l311946a0ccd24a7b90abb508f4eb9f4e">OBS: The path must start with <span class="parmvalue" id="mrs_02_0101__p7addae73a6d04a3a8c9d93972ed6039d"><b>s3a://</b></span>. Files or programs encrypted by KMS are not supported.</li><li id="mrs_02_0101__en-us_topic_0110581924_li18114107493">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0101__pee15970daa044de1af6e19920c2672f4"><b>/</b></span>).</li></ul>
</li><li id="mrs_02_0101__l77a53fbd159d47bca54e5bbd1859f937">Spark Script must end with <span class="parmvalue" id="mrs_02_0101__parmvalue1049353862114847"><b>.sql</b></span> while MapReduce and Spark Jar must end with <span class="parmvalue" id="mrs_02_0101__parmvalue326971857114847"><b>.jar</b></span>. <span class="parmvalue" id="mrs_02_0101__parmvalue629781676114847"><b>sql</b></span> and <span class="parmvalue" id="mrs_02_0101__parmvalue71504781114847"><b>jar</b></span> are case-insensitive.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__r082bccdc7c1b41c08a362fe9b2f23e57"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__a4d4f374e54b64a1984e759a3b582cae6">arguments</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__a7a8ba8615e6140be94c7df4a296f5d1e">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a8b482a914e9b48d9a5e09baa2ea33018">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__a56f54fd58b7f4a88a78b3301118e358c">Key parameter for program execution. The parameter is specified by the function of the user's program. MRS is only responsible for loading the parameter.</p>
<p id="mrs_02_0101__af260bc2d789a4ffd9a801b2c388937d6">The parameter contains a maximum of 2,047 characters, excluding special characters such as ;|&amp;&gt;'&lt;$, and can be left blank.</p>
</td>
</tr>
<tr id="mrs_02_0101__r5f76a1c980b945b6b9be2112c853032a"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__a240ef0ea4fa14fd8b4ff5ef66cc651cd">input</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__a87f3a222d7404447a6b2f856cc1d6b8f">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__en-us_topic_0110581924_p644882010328">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__ae66710c5e07e45e4b7fad4d8994760c3">Address for inputting data</p>
<div class="p" id="mrs_02_0101__ae71baaff5e234d8d8f871af7142086c7">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0101__u053b159914fc4cdb9238d81925d0ad3c"><li id="mrs_02_0101__l3c4df3b7bff243d691b400edfa8d1abf">OBS: The path must start with <span class="parmvalue" id="mrs_02_0101__p4d796b738c514efa81a7f5ff78e48dac"><b>s3a://</b></span>. Files or programs encrypted by KMS are not supported.</li><li id="mrs_02_0101__en-us_topic_0110581924_li14402145654">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0101__p5aeaf9587d5a47c88c2cff0e065030c0"><b>/</b></span>).</li></ul>
</div>
<p id="mrs_02_0101__aa83c637c498e4208a3c21310dcfeac38">The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&amp;&gt;'&lt;$, and can be left blank.</p>
</td>
</tr>
<tr id="mrs_02_0101__r19caa026be7644ec89853f511ff24e57"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__aa7416d43efd149b1aaae01e2393dfd71">output</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__a4467222d621049c2a7dd6d69c153dc57">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a1ec06fa96d674b538557ba325057b2ca">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__a68624f7985ca4999a15ed56e5ba239a5">Address for outputting data</p>
<div class="p" id="mrs_02_0101__aff5a969c034940bc8f5595975c93727d">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0101__u567ba92ca6ce4526a8fbe7559d415c73"><li id="mrs_02_0101__l28b77a83e16e4f259f61121c63933a5e">OBS: The path must start with <span class="parmvalue" id="mrs_02_0101__pfd9d766f27b64ef9aff65845a4309ad3"><b>s3a://</b></span>.</li><li id="mrs_02_0101__lce3927378d494881b077fb4d1c1d7d97">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0101__pc231dd4e5dd445fa806392c787f44ea9"><b>/</b></span>).</li></ul>
</div>
<p id="mrs_02_0101__a1ea20927905f4d98ab025e6c139a6e49">If the specified path does not exist, the system will automatically create it.</p>
<p id="mrs_02_0101__a33780072c5ca4afb805b553183081a0a">The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&amp;&gt;'&lt;$, and can be left blank.</p>
</td>
</tr>
<tr id="mrs_02_0101__rcebde39651a34a3ebc0e383b3ea0609e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__afba4723d32e64349a2fd483d3aec7f8e">job_log</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__abf09aba3956248b0bcad4eaf18c1ffe3">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a786558e005ef4409998180f06d9e8854">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__en-us_topic_0110581924_p34006410328">Path for storing job logs that record job running status.</p>
<div class="p" id="mrs_02_0101__a197b22cd360f41029e4986c7631e13e9">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0101__u59cddc2a224b4316addc8c265b5d4e7a"><li id="mrs_02_0101__l1e9e01a445bf4fc4aa0d0de037478435">OBS: The path must start with <span class="parmvalue" id="mrs_02_0101__p76f60d741afa407884a016776102ec99"><b>s3a://</b></span>.</li><li id="mrs_02_0101__l31e228f6467b48d2bb1acc44927e8c8a">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0101__p128645c6a30742dabedff9571d8e5f96"><b>/</b></span>).</li></ul>
</div>
<p id="mrs_02_0101__a57d5612e81ab4daa9fcba35202cc2ac6">The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&amp;&gt;'&lt;$, and can be left blank.</p>
</td>
</tr>
<tr id="mrs_02_0101__r71b3a4b056fa4a6693ee1ccbf01354e3"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__a6180a48948304eebafb48522459c400f">shutdown_cluster</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__en-us_topic_0110581924_p78350310328">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a24e8cde5f6804c39bb85af587a53ac88">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__a24011056348d4e08bf19f8cf13770fd5">Whether to delete the cluster after the job execution is complete</p>
<ul id="mrs_02_0101__u283ed191b20545218c2495ce20019235"><li id="mrs_02_0101__l32bd0f42184e496faf957d7bf8da8c7b"><strong id="mrs_02_0101__b736971763114847">true</strong>: Yes</li><li id="mrs_02_0101__l63efdcde9d5847559618b60012d15c57"><strong id="mrs_02_0101__b1848720580114847">false</strong>: No</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__r38c9b7d97d1843818d8257e369625b5e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__a211ab5a8d91a4e179e47355dbb7154e9">file_action</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__a4daebfd86bbd407788ddd47e28aaa3ab">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a2f6ecf2eae4143edb7a98c02ad86e627">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__a6337ab64727c4932a880bbd30cee64c6">Data import and export</p>
<ul id="mrs_02_0101__ubd8933d2af864220afae2e8a2fe1f8db"><li id="mrs_02_0101__l1d8b266f437544309ff51e56a6c5e3f8">import</li><li id="mrs_02_0101__lec8ebc61620e45818dcdb983e6b6b9ab">export</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__r3c17d75523474f6db92ef448256836f0"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__a1efac31efc0848f4b563366ce3605f32">submit_job_once_cluster_run</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__a17d13126934042558ea30306f971ec9c">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a39048ed76bbe4a93abedc722a7bd9c1f">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><ul id="mrs_02_0101__u252aadfb54da4baaa43f5c40ec014fc0"><li id="mrs_02_0101__lc20f9cd9c48e41df94581ad77c249740"><strong id="mrs_02_0101__b1487255895114847">true</strong>: Submit a job during cluster creation.</li><li id="mrs_02_0101__lbe2fe7bcebb942cfb64aec76dd6be326"><strong id="mrs_02_0101__b1832815978114847">false</strong>: Submit a job after the cluster is created.</li></ul>
<p id="mrs_02_0101__en-us_topic_0110581924_p461478810328">Set this parameter to <strong id="mrs_02_0101__b1064341938114847">true</strong> in this example.</p>
</td>
</tr>
<tr id="mrs_02_0101__r1bd160512f794dc1b8a5e74830dd8a77"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__en-us_topic_0110581924_p873773110328">hql</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__a39913072b23344fdb036976d9691218f">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a46d625ddf92f47db9e977423ea813e93">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__ac34bbce1af534068b6f90c07b819940e">HiveQL statement</p>
</td>
</tr>
<tr id="mrs_02_0101__rfd31d8bc4ed144509d335fbaa00187ad"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0101__ae4877c908b65427f8e6b13547916aaa9">hive_script_path</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0101__ad5e9d85fc0eb467c851e6a1caada5571">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0101__a154c57b5b1b647da9292441acf1e672a">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0101__aee167b6ea6fa4d72ae3dd62da9118e1d">SQL program path. This parameter is needed by Spark Script and Hive Script jobs only, and must meet the following requirements:</p>
<ul id="mrs_02_0101__u9852e5488841460c9a61db547eec1126"><li id="mrs_02_0101__lc405a91b942a4a4aa33e4b0b6e31d9c5">Contains a maximum of 1,023 characters, excluding special characters such as ;|&amp;&gt;&lt;'$. The address cannot be empty or full of spaces.</li><li id="mrs_02_0101__l4280ef93a66f4c1a8257a4d42eb9beb3">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0101__u057d8e72682642968fa26aff11564901"><li id="mrs_02_0101__le0baae3b52a04dc19d83afa95a769925">OBS: The path must start with <span class="parmvalue" id="mrs_02_0101__pab9fcf7556624a9caba13d65f12be2f6"><b>s3a://</b></span>. Files or programs encrypted by KMS are not supported.</li><li id="mrs_02_0101__l33e1fbb9f355453f9f2c90669d5ebc4e">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0101__pb8e84ec6972743ff90549ba5fa58874f"><b>/</b></span>).</li></ul>
</li><li id="mrs_02_0101__l8f4543f8c48145de845fff2e1b5aec49">Ends with <span class="parmvalue" id="mrs_02_0101__parmvalue1272251372114847"><b>.sql</b></span>. <strong id="mrs_02_0101__b1135913714114847">sql</strong> is case-insensitive.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__t6d6054a35d6342dc9dc5b3b8580fec7c"></a><a name="t6d6054a35d6342dc9dc5b3b8580fec7c"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__t6d6054a35d6342dc9dc5b3b8580fec7c" frame="border" border="1" rules="all"><caption><b>Table 10 </b>AutoScalingPolicy structure</caption><thead align="left"><tr id="mrs_02_0101__raf51026a1f504a8788e1403658120f2f"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.9.2.5.1.1"><p id="mrs_02_0101__a6b57643863a6437a8c107916b9c7695d">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.9.2.5.1.2"><p id="mrs_02_0101__a3fff5ea955e54459addfcbbb35b643ec">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.9.2.5.1.3"><p id="mrs_02_0101__aa1457e2336bd448ea6d9616e20227777">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.9.2.5.1.4"><p id="mrs_02_0101__a5321d724cd884c23b9ae748f98ba4424">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__ra90fcd7439104b2c98d8b7081bfdef71"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0101__a8e70a35d4222449cb92a4041ef7f0137">auto_scaling_enable</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0101__ae90c66ff525b4f18b199fba818fcc23e">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0101__a2c10267f0ea74faba0b9fb771d478e67">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0101__a8b16bd6c0885436e8051b80f0aea7c8d">Whether to enable the auto scaling rule.</p>
</td>
</tr>
<tr id="mrs_02_0101__r1fe6b7d60f7345d3b8d1c1d8cb8806bd"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0101__a379d490f2095437fad3072496b931b39">min_capacity</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0101__a67bf7a6b811a47d1accfd408095436fb">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0101__en-us_topic_0110581924_p230787112654">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0101__a6339dac619fd4e838c5285c78f3162f9">Minimum number of nodes left in the node group.</p>
<p id="mrs_02_0101__ac2a776ad7e134fadb625996c4d1d83d6">Value range: 0 to 500</p>
</td>
</tr>
<tr id="mrs_02_0101__r8b569e44ff74496d9a7eb20ac8a742e4"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0101__a7eaed7f858d7454b8c65783319c39b04">max_capacity</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0101__a67bf8fb9a84542bd8757eeb97a31418f">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0101__a3ecf064ee466445781aeb1a335395cba">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0101__a27bf42b5a44f47378f54aad66fef804f">Maximum number of nodes in the node group.</p>
<p id="mrs_02_0101__a480eee70830e4129964adad7def22b88">Value range: 0 to 500</p>
</td>
</tr>
<tr id="mrs_02_0101__row109862440157"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0101__p99881444155">resources_plans</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0101__p1998854481510">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0101__p59886442157">List</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0101__p189881644171514">Resource plan list. For details, see <a href="#mrs_02_0101__table10281451162111">Table 11</a>. If this parameter is left blank, the resource plan is disabled.</p>
<p id="mrs_02_0101__p9402141913220">When auto scaling is enabled, either a resource plan or an auto scaling rule must be configured.</p>
</td>
</tr>
<tr id="mrs_02_0101__row36011313174"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0101__p337232320178">exec_scripts</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0101__p337220231170">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0101__p11372152341713">List</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0101__p93729233178">List of custom scaling automation scripts. For details, see <a href="#mrs_02_0101__table1921110172216">Table 12</a>. If this parameter is left blank, a hook script is disabled.</p>
</td>
</tr>
<tr id="mrs_02_0101__r4755a3babff849968d83bd43129dc7eb"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0101__a308e43c85e40439b8c59d08440843dc6">rules</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0101__a98d5257b9540482989b03783ec10a561">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0101__ae314628f2d8a4766924313079bbabe68">List</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0101__ac2e02b36ba1e434fb0df7479bd8acd50">List of auto scaling rules. For details, see <a href="#mrs_02_0101__t4c9e3e169631470d81d260543affb7e1">Table 13</a>.</p>
<p id="mrs_02_0101__p6516143522217">When auto scaling is enabled, either a resource plan or an auto scaling rule must be configured.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__table10281451162111"></a><a name="table10281451162111"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table10281451162111" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="mrs_02_0101__b1656897174114847">resources_plan</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0101__row21077515215"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.10.2.5.1.1"><p id="mrs_02_0101__p11361051162118">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.10.2.5.1.2"><p id="mrs_02_0101__p1815835115218">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.10.2.5.1.3"><p id="mrs_02_0101__p2018015511218">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.10.2.5.1.4"><p id="mrs_02_0101__p5198351122117">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row1121555192110"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0101__p18632144118282">period_type</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0101__p4632164118286">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0101__p166321418282">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0101__p963214419289">Cycle type of a resource plan. Currently, only the following cycle type is supported:</p>
<ul id="mrs_02_0101__ul363284116288"><li id="mrs_02_0101__li19632041182813">daily</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row1531855116213"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0101__p11633174182818">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0101__p196331041132814">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0101__p19633114122816">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0101__p13633154112816">Start time of a resource plan. The value is in the format of <strong id="mrs_02_0101__b25178917114847">hour:minute</strong>, indicating that the time ranges from 0:00 to 23:59.</p>
</td>
</tr>
<tr id="mrs_02_0101__row7405105118211"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0101__p126333415281">end_time</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0101__p2063344114284">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0101__p863364112819">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0101__p2633174117282">End time of a resource plan. The value is in the same format as that of <span class="parmname" id="mrs_02_0101__parmname192703911114847"><b>start_time</b></span>. The interval between <strong id="mrs_02_0101__b815899187114847">end_time</strong> and <strong id="mrs_02_0101__b1290884872114847">start_time</strong> must be greater than or equal to 30 minutes.</p>
</td>
</tr>
<tr id="mrs_02_0101__row19532851132116"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0101__p206334415288">min_capacity</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0101__p2633184112285">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0101__p116331241202817">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0101__p6633141102810">Minimum number of the preserved nodes in a node group in a resource plan.</p>
<p id="mrs_02_0101__p3629135317296">Value range: 0 to 500</p>
</td>
</tr>
<tr id="mrs_02_0101__row176245516217"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0101__p263304119287">max_capacity</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0101__p146331041172818">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0101__p156331241162818">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0101__p19633174118288">Maximum number of the preserved nodes in a node group in a resource plan.</p>
<p id="mrs_02_0101__p16373013020">Value range: 0 to 500</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__table1921110172216"></a><a name="table1921110172216"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table1921110172216" frame="border" border="1" rules="all"><caption><b>Table 12 </b><strong id="mrs_02_0101__b1860383326114847">exec_script</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0101__row1428214111224"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.11.2.5.1.1"><p id="mrs_02_0101__p15297171172210">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.11.2.5.1.2"><p id="mrs_02_0101__p8318816229">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.11.2.5.1.3"><p id="mrs_02_0101__p19332191122219">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.11.2.5.1.4"><p id="mrs_02_0101__p934614122220">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row16364151162210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0101__p2716626113010">name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0101__p9716122653011">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0101__p12716172613308">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0101__p1271632643011">Name of a custom automation script. It must be unique in a same cluster.</p>
<p id="mrs_02_0101__p971662623010">The value can contain only digits, letters, spaces, hyphens (-), and underscores (_) and must not start with a space.</p>
<p id="mrs_02_0101__p2716192613010">The value can contain 1 to 64 characters.</p>
</td>
</tr>
<tr id="mrs_02_0101__row1446317117222"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0101__p1671632619307">uri</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0101__p771612265306">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0101__p37169268302">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0101__p15716132603020">Path of a custom automation script. Set this parameter to an OBS bucket path or a local VM path.</p>
<ul id="mrs_02_0101__ul2716122616303"><li id="mrs_02_0101__li1771652616302">OBS bucket path: Enter a script path manually. for example, <strong id="mrs_02_0101__b1910892840114847">s3a://</strong><em id="mrs_02_0101__i237255645114847">XXX</em><strong id="mrs_02_0101__b1396143091114847">/scale.sh</strong>.</li><li id="mrs_02_0101__li13305023118">Local VM path: Enter a script path. The script path must start with a slash (/) and end with <strong id="mrs_02_0101__b889803907114847">.sh</strong>.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row25607102210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0101__p361414413374">parameters</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0101__p361484123715">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0101__p146149414371">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0101__p8614746374">Parameters of a custom automation script.</p>
<ul id="mrs_02_0101__ul19405172713813"><li id="mrs_02_0101__li54051027163819">Multiple parameters are separated by space.</li><li id="mrs_02_0101__li5405112723817">The following predefined system parameters can be transferred:<ul id="mrs_02_0101__ul740512275389"><li id="mrs_02_0101__li1540522716388"><em id="mrs_02_0101__i2133450836114847">${mrs_scale_node_num}</em>: Number of the nodes to be added or removed</li><li id="mrs_02_0101__li13405192712388"><em id="mrs_02_0101__i235896535114847">${mrs_scale_type}</em>: Scaling type. The value can be <strong id="mrs_02_0101__b312131707114847">scale_out</strong> or <strong id="mrs_02_0101__b1967805707114847">scale_in</strong>.</li><li id="mrs_02_0101__li2405142719388"><em id="mrs_02_0101__i1195026176114847">${mrs_scale_node_hostnames}</em>: Host names of the nodes to be added or removed</li><li id="mrs_02_0101__li104051427173812"><em id="mrs_02_0101__i2100133989114847">${mrs_scale_node_ips}</em>: IP addresses of the nodes to be added or removed</li><li id="mrs_02_0101__li240519271388"><em id="mrs_02_0101__i327727827114847">${mrs_scale_rule_name}</em>: Name of the rule that triggers auto scaling</li></ul>
</li><li id="mrs_02_0101__li13405102710382">Other user-defined parameters are used in the same way as those of common shell scripts. Parameters are separated by space.</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row870514172210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0101__p106161244377">nodes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0101__p661616418371">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0101__p14616244375">List&lt;String&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0101__p56161649373">Type of a node where the custom automation script is executed. The node type can be Master, Core, or Task.</p>
</td>
</tr>
<tr id="mrs_02_0101__row67891315228"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0101__p1733982111374">active_master</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0101__p153391921173710">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0101__p4339142163715">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0101__p833952163716">Whether the custom automation script runs only on the active Master node.</p>
<p id="mrs_02_0101__p13391218375">The default value is <strong id="mrs_02_0101__b146939662114847">false</strong>, indicating that the custom automation script can run on all Master nodes.</p>
</td>
</tr>
<tr id="mrs_02_0101__row3891131122219"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0101__p195951338133710">action_stage</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0101__p1759563815377">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0101__p195951038123720">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0101__p5595438133717">Time when a script is executed.</p>
<p id="mrs_02_0101__p175951038193717">The following four options are supported:</p>
<ul id="mrs_02_0101__ul959511385379"><li id="mrs_02_0101__li1159543863710"><strong id="mrs_02_0101__b1958775097114847">before_scale_out</strong>: before scale-out</li><li id="mrs_02_0101__li175952388373"><strong id="mrs_02_0101__b1754535205114847">before_scale_in</strong>: before scale-in</li><li id="mrs_02_0101__li1159513873719"><strong id="mrs_02_0101__b449050926114847">after_scale_out</strong>: after scale-out</li><li id="mrs_02_0101__li13595183823719"><strong id="mrs_02_0101__b111912298114847">after_scale_in</strong>: after scale-in</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__row173493683712"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0101__p1595838193720">fail_action</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0101__p1595138123712">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0101__p159611387376">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0101__p959633833712">Whether to continue to execute subsequent scripts and create a cluster after the custom automation script fails to be executed.</p>
<ul id="mrs_02_0101__ul1859673813372"><li id="mrs_02_0101__li5596183873720"><strong id="mrs_02_0101__b1192580653114847">continue</strong>: Continue to execute subsequent scripts.</li><li id="mrs_02_0101__li1596153883712"><strong id="mrs_02_0101__b988883990114847">errorout</strong>: Stop the action.<div class="note" id="mrs_02_0101__note1637813387373"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="mrs_02_0101__ul117517425369"><li id="mrs_02_0101__li5751204215360">You are advised to set this parameter to <strong id="mrs_02_0101__b1580591925114847">continue</strong> in the commissioning phase so that the cluster can continue to be installed and started no matter whether the custom automation script is executed successfully.</li><li id="mrs_02_0101__li10592144173612">The scale-in operation cannot be undone. Therefore, <span class="parmname" id="mrs_02_0101__parmname47251253810"><b>fail_action</b></span> must be set to <span class="parmvalue" id="mrs_02_0101__parmvalue7529192612381"><b>continue</b></span> for the scripts that are executed after scale-in.</li></ul>
</div></div>
</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__t4c9e3e169631470d81d260543affb7e1"></a><a name="t4c9e3e169631470d81d260543affb7e1"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__t4c9e3e169631470d81d260543affb7e1" frame="border" border="1" rules="all"><caption><b>Table 13 </b><strong id="mrs_02_0101__b1686399224114847">rules</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0101__r04dab5da98994243b13ab537426a3a97"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.12.2.5.1.1"><p id="mrs_02_0101__ad679ccb275b24cc496175d3841c71d4a">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.12.2.5.1.2"><p id="mrs_02_0101__a640760dee401468b9b46729570e2c885">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.12.2.5.1.3"><p id="mrs_02_0101__acb08948a5f1440c3b9925d7b25fd1cfc">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.12.2.5.1.4"><p id="mrs_02_0101__ae3354bfaa9f549358e263c7ff419fb0b">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__rb70a6fabcd634bb488830fad4df3ec23"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0101__a30a512ec6a824430b85d412a03a87f01">name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0101__a9821fa2ef3a545c6918722356913f19d">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0101__a79be49bbaf734f838a223ef00e505777">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0101__aba48112f6b6643379185e9024b158818">Name of an auto scaling rule.</p>
<p id="mrs_02_0101__ad2dfd75a61e449daba07a8aec95b70af">A cluster name can contain only 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
<p id="mrs_02_0101__a4fb8ccd95fd84f4e9167a742ea119278">Rule names must be unique in a node group.</p>
</td>
</tr>
<tr id="mrs_02_0101__r43e582bae8d7452ba656dde618f5200c"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0101__a4db367e43bb943eeb5a845fa7b3209a6">description</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0101__aa3ce5a5274894b5c8ff040dbda4d893a">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0101__a5229ef45bcb04550a546ed9ef4541966">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0101__a54e73e7a5fe84ea68e0c68c676c69078">Description about an auto scaling rule.</p>
<p id="mrs_02_0101__a3913d07fc617486c800f3e34ebc28224">It contains a maximum of 1,024 characters.</p>
</td>
</tr>
<tr id="mrs_02_0101__r63d765b129664dad957626f380819572"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0101__a44f544e08b0a41de95dabf9bf4e1434a">adjustment_type</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0101__aeef54466240a420aa0b5613dbb65143d">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0101__a433b89c3fb244d7e954a41597d978cf8">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0101__afb3bb8888f944246b9b844cf271c4ab2">Auto scaling rule adjustment type. The options are as follows:</p>
<ul id="mrs_02_0101__u18ec9abfa0234393b376df8ff616d19b"><li id="mrs_02_0101__l81d5baf4a2a44b92856c44501da9d358"><strong id="mrs_02_0101__b1304880891114847">scale_out</strong>: cluster scale-out</li><li id="mrs_02_0101__ld8f628f40c1040e98a2184d5bc217035"><strong id="mrs_02_0101__b599252813114847">scale_in</strong>: cluster scale-in</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__r6f9ebcd76459417a908a73ec838efe7c"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0101__a8f20410dbaee433abb560ec4458140af">cool_down_minutes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0101__ace0d1386b05a420fad2f53bd4dbd7f4f">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0101__a125498882f804fa99362663be962a9ec">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0101__a962e8faec9684b4b9388ddaae5f20f25">Cluster cooling time after an auto scaling rule is triggered, when no auto scaling operation is performed. The unit is minute.</p>
<p id="mrs_02_0101__a934200a982984f90a54b157715b28542">Value range: 0 to 10,080. One week is equal to 10,080 minutes.</p>
</td>
</tr>
<tr id="mrs_02_0101__r83dc95f88c514f349fe399e2daec1acf"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0101__a1bf156eb290c4eacac485c8e69bb9b8a">scaling_adjustment</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0101__ac34a827ef47d41c19cb0a362521c1749">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0101__a8ed38e14158144d1a1feee5d0c6672f9">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0101__acf6914ca275e493ba883ebb8a607a1ad">Number of nodes that can be adjusted once.</p>
<p id="mrs_02_0101__a665de6492d5f41e183c5fdfa2a65629a">Value range: 1 to 100</p>
</td>
</tr>
<tr id="mrs_02_0101__r66369f0421994b56a9ed58368cc08d5a"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0101__a5817b59eda8846d1ae9d530bd1ab342d">trigger</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0101__aee6e5978de8143a7bfdc40db6e9304b2">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0101__afd9beb4a2ace493390bc25ced1fecf8d">Trigger</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0101__a2c60fdaa8e8b434d91a9aaf1e369eff6">Condition for triggering a rule. For details, see <a href="#mrs_02_0101__t03bd10dc0ec94a3babc71b2d5d57c3fe">Table 14</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__t03bd10dc0ec94a3babc71b2d5d57c3fe"></a><a name="t03bd10dc0ec94a3babc71b2d5d57c3fe"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__t03bd10dc0ec94a3babc71b2d5d57c3fe" frame="border" border="1" rules="all"><caption><b>Table 14 </b><strong id="mrs_02_0101__b2098567448114847">trigger</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0101__rff8c363cdf464eb5a3a11207ffdf1cd8"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.13.2.5.1.1"><p id="mrs_02_0101__af7ff5d0628724b4fa7b5cf884ea1b773">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.13.2.5.1.2"><p id="mrs_02_0101__a56f9bf71c2fc47b5a8e8e7c679965679">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.13.2.5.1.3"><p id="mrs_02_0101__a8933d7f27ddb4c9798f80813eb864963">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.13.2.5.1.4"><p id="mrs_02_0101__a1f9301595b084bb0a1226a00ef63cf3a">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__re14becd52b854699886dab346ddbbca9"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0101__ad3f42958ab364805946248b8a97a5681">metric_name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0101__a5e62e69cca49432484b604bd6c10da4f">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0101__af5d60c6023c64eb3af69213451e45a08">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.13.2.5.1.4 "><p id="mrs_02_0101__a67c5bbe2340144a0ac4ae630da919fdb">Metric name.</p>
<p id="mrs_02_0101__ad6898742fd8c4b3d90f62a110092174a">This triggering condition makes a judgment according to the value of the metric.</p>
<p id="mrs_02_0101__adb15d44ef9cd49719e1558f955af8fe0">A metric name contains a maximum of 64 characters.</p>
<p id="mrs_02_0101__a249e5e0f422a474eb818f01e56c3c6e2"><a href="#mrs_02_0101__t27de3279a99a48968dacb015c498d9cb">Table 15</a> lists the supported metric names.</p>
</td>
</tr>
<tr id="mrs_02_0101__rdf8d159ee61f4397920756d6db18f225"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0101__aaefe5f406be947a9bc590420af9fa60a">metric_value</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0101__ad6ce5627219640d1a928ec145a5c9543">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0101__ae5eed36b433c4a778931e35c51c255c0">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.13.2.5.1.4 "><p id="mrs_02_0101__af6f48d7468d64a0394a3a4213d2a2268">Metric threshold to trigger a rule</p>
<p id="mrs_02_0101__a9cb6280b4c514776b95dd786fe3b71b9">The parameter value must be an integer or number with two decimal places only. <a href="#mrs_02_0101__t27de3279a99a48968dacb015c498d9cb">Table 15</a> provides value types and ranges corresponding to <strong id="mrs_02_0101__b1210661867114847">metric_name</strong>.</p>
</td>
</tr>
<tr id="mrs_02_0101__re4671e894e4448eb87e9d7ff852aecb5"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0101__af47cf271b63941ac96944f24e87910b2">comparison_operator</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0101__ab55411f4b2a54e7195864b2dc799f3bb">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0101__a933e80262e8c483dbfbf38aa2ec35333">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.13.2.5.1.4 "><p id="mrs_02_0101__adf4bb9d515db4212bee56e7a4389a892">Metric judgment logic operator. The options are as follows:</p>
<ul id="mrs_02_0101__u7169b3049e9342e185a5074148528db2"><li id="mrs_02_0101__l13c981ce21224f819f878980b4fed42a"><strong id="mrs_02_0101__b428017865114847">LT</strong>: less than</li><li id="mrs_02_0101__lcc7e6b1462834f3e815643afc36f44c1"><strong id="mrs_02_0101__b1061060301114847">GT</strong>: greater than</li><li id="mrs_02_0101__l1b37bddaae0849138262f4a5b45bde3e"><strong id="mrs_02_0101__b1644306692114847">LTOE</strong>: less than or equal to</li><li id="mrs_02_0101__l5d7813f50b03478ca9060afa7af9a4f4"><strong id="mrs_02_0101__b367076897114847">GTOE</strong>: greater than or equal to</li></ul>
</td>
</tr>
<tr id="mrs_02_0101__rf50d0c4b959f434f956a9cd587368b68"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0101__a03c9f551658b4130989f42292477ab3a">evaluation_periods</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0101__a036fbc2365fe431f9752b41bf56b6913">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0101__aaf1bc273e1ea46b3bd11b243b4223b90">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.13.2.5.1.4 "><p id="mrs_02_0101__aac0eda51209e440da2832133da986fe2">Number of consecutive five-minute periods, during which a metric threshold is reached</p>
<p id="mrs_02_0101__ab1eaebbe8f6a4f64ba521a9e4558f4b4">Value range: 1 to 288</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="mrs_02_0101__t27de3279a99a48968dacb015c498d9cb"></a><a name="t27de3279a99a48968dacb015c498d9cb"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__t27de3279a99a48968dacb015c498d9cb" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Auto scaling metrics</caption><thead align="left"><tr id="mrs_02_0101__r6f513581428249f08e517a602d698e15"><th align="left" class="cellrowborder" valign="top" width="15.598440155984402%" id="mcps1.3.3.14.2.5.1.1"><p id="mrs_02_0101__a438235aa61f14211bfc4a1a5b83eb558">Cluster Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.437556244375564%" id="mcps1.3.3.14.2.5.1.2"><p id="mrs_02_0101__abe5e348bbff341ce8105e23a1ed1773b">Metric</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.22847715228477%" id="mcps1.3.3.14.2.5.1.3"><p id="mrs_02_0101__a682d9e227f744055822e498bf9c5856d">Value Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.73552644735527%" id="mcps1.3.3.14.2.5.1.4"><p id="mrs_02_0101__a253484a6f10b4e48932213cd57a12322">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__r3d35885bfaf34dd19a45669ca955ca07"><td class="cellrowborder" rowspan="7" valign="top" width="15.598440155984402%" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a5114f66cbef24be89bf81e8698e641bf">Streaming cluster</p>
</td>
<td class="cellrowborder" valign="top" width="24.437556244375564%" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__ac72545b57c754656979548eb610a6870">StormSlotAvailable</p>
</td>
<td class="cellrowborder" valign="top" width="15.22847715228477%" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a335961e130ae43bbad38525916ff3c50">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="44.73552644735527%" headers="mcps1.3.3.14.2.5.1.4 "><p id="mrs_02_0101__a6798fd17f81446d7bc23b65c206e62df">Number of available Storm slots.</p>
<p id="mrs_02_0101__af8a8f569acf143b1b0641749d9a8958c">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__rb933f33ebd4043ba9e917d0d2f4852e3"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__ab02fb123f43e415b8bb10a908a8acb3b">StormSlotAvailablePercentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a52893a2e940f4c5ab48c2e5473ce2f0a">Percentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a019e6f8ac83a4aa88544fb69ef775a38">Percentage of available Storm slots, that is, the proportion of the available slots to total slots.</p>
<p id="mrs_02_0101__ac2fa579fd8b34e32bee870e7fc7f2ac9">Value range: 0 to 100.</p>
</td>
</tr>
<tr id="mrs_02_0101__r08070c64771a42b6a113d6febbfaa29d"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a691509a26b894eb482bc9ba4b595edb1">StormSlotUsed</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__abe031b1f053a4e3ead22c147dcafa3aa">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a277ae72eb6754de2bf11608cd9e6e12e">Number of the used Storm slots.</p>
<p id="mrs_02_0101__ae765f078f7354dacb24c79349c9a5e6c">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__re0b727e5886646b49fe255ac2e7a2951"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__afd137ca4d82b4bceb58798293de6c8d4">StormSlotUsedPercentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a880db12e66534c39810fd1d0bd16093a">Percentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__ad49e3d813f2d4239a469338f348c3077">Percentage of the used Storm slots, that is, the proportion of the used slots to total slots.</p>
<p id="mrs_02_0101__ada4c81170b0d4b93b744a65a698d5174">Value range: 0 to 100.</p>
</td>
</tr>
<tr id="mrs_02_0101__row177919386154"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__p135088571721">StormSupervisorMemAverageUsage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__p1950845719217">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__p165082571219">Average memory usage of the Supervisor process of Storm.</p>
<p id="mrs_02_0101__p165194141793">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__row631194414155"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__p188210636">StormSupervisorMemAverageUsagePercentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__p6821801732">Percentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__p88213018314">Average percentage of the used memory of the Supervisor process of Storm to the total memory of the system.</p>
<p id="mrs_02_0101__p3227151918108">Value range: 0 to 100.</p>
</td>
</tr>
<tr id="mrs_02_0101__row7783194871512"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__p794819218319">StormSupervisorCPUAverageUsagePercentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__p1494842533">Percentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__p1948121837">Average percentage of the used CPUs of the Supervisor process of Storm to the total CPUs.</p>
<p id="mrs_02_0101__p1690164451113">Value range: 0 to 6000.</p>
</td>
</tr>
<tr id="mrs_02_0101__ra430378d169b44c29d0139187c0f4a11"><td class="cellrowborder" rowspan="14" valign="top" width="15.598440155984402%" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__af2c3361bef3e4acda820a0b5349dab94">Analysis cluster</p>
</td>
<td class="cellrowborder" valign="top" width="24.437556244375564%" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a2ebc162d44404c4b9171628d2937cac6">YARNAppPending</p>
</td>
<td class="cellrowborder" valign="top" width="15.22847715228477%" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a49aea79e2e884b39906752aeb50f6a38">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="44.73552644735527%" headers="mcps1.3.3.14.2.5.1.4 "><p id="mrs_02_0101__ad5b596886c494b288346f643daa764e9">Number of pending tasks on Yarn.</p>
<p id="mrs_02_0101__a35def1222c304e88a59b86583ce0130d">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__r1c774463d2a14083a7fdfd96cbaefcef"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a26a74b6270f741a09b3bc5dec2b8a129">YARNAppPendingRatio</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a8867793be2584544838efdc864b1b199">Ratio</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a16e41ae39c3542cea4823cc61c96a5d3">Ratio of pending tasks on Yarn, that is, the ratio of pending tasks to running tasks on Yarn.</p>
<p id="mrs_02_0101__a2d50ce28b3f445d49825f72dd917624d">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__ra094fb90825148839fb3e3c750b09969"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__aa9ba37f3d402455d8e6f9d17b3b83329">YARNAppRunning</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a985a37b47e8541daa74672ec40190b2d">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__ab56444e8f8054590a8eb9776184ee285">Number of running tasks on Yarn.</p>
<p id="mrs_02_0101__a6bb7fc15c9cc497b9befea371482ee14">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__r877ab3607fb24199a4f8f5e6027e2d83"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a5e1a1fcebf9c4f5f96457b335d8d3524">YARNContainerAllocated</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a4582c276628b40d69800e7c2f0f3e496">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a8dd055b550404e3586a2d008b49cb4aa">Number of containers allocated to Yarn.</p>
<p id="mrs_02_0101__a0af753d126374689b243d324b8b62643">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__rf899d1058342458c8922fce992d570cc"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a3c879e53204943baa6f00e332603b436">YARNContainerPending</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a9a4b0bf584494168ad484b62945df5ab">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__abd01e06bb70544e38882c07fdf1e5fbe">Number of pending containers on Yarn.</p>
<p id="mrs_02_0101__a93d072fada4a4322bb38029de44e1ea2">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__r6eea766caaa8483ba2889235d08f1fb1"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a554108d1a4ac4d548d0d7c913d2c0e96">YARNContainerPendingRatio</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a2f421b01c38b4dacab515d5013a94ec6">Ratio</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a3ff2b486a44e4a079f2893a62ebe1057">Ratio of pending containers on Yarn, that is, the ratio of pending containers to running containers on Yarn.</p>
<p id="mrs_02_0101__afbecb57893244882aa592c19c2c6d4ca">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__rada32b2ffd544cdb9aceb4f9499866c0"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__aa85783e97d85436eaf8172c7a9377839">YARNCPUAllocated</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__ae9db170af0a74db097a4118d3c6acbd5">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a83a9e1639ef541398ad1326edfbe5652">Number of virtual CPUs (vCPUs) allocated to Yarn</p>
<p id="mrs_02_0101__a647834b124bd4911a4e811ad0d5fab4e">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__r24f9d8b6e19347a6af3a2b2602817b67"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a56f523a1e5d3450bbfdda7743eb92854">YARNCPUAvailable</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a1879208a01884bc3bd21a4d2c696aad8">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a0ae5d086156342deba2460f41206c148">Number of available vCPUs on Yarn.</p>
<p id="mrs_02_0101__aee8087bc3ad8436fa0f8ef040ba673ab">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__rb1a623bacb3446a7ad80947e61db5e14"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a14553be3cec14ae38983fbfb99f29d83">YARNCPUAvailablePercentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a4ba6a334b5624002aea5c16ec2bef623">Percentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a7f11c0314e0d4bcba94eaf62b670b6f1">Percentage of available vCPUs on Yarn, that is, the proportion of available vCPUs to total vCPUs.</p>
<p id="mrs_02_0101__a50104756cbae4a11afe22dfe9b28fd26">Value range: 0 to 100.</p>
</td>
</tr>
<tr id="mrs_02_0101__r0d968a43dce44f34bc59e65763a42dff"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__aaf82b0df6bd1489b9e4835f72e66848b">YARNCPUPending</p>
<p id="mrs_02_0101__adb1ad1fe51bc4d9097f76ed15949faee"></p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a182e236f3a6547c1b0c9ddeedc1cb812">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a091982b0354948558a83a2972fc10d78">Number of pending vCPUs on Yarn.</p>
<p id="mrs_02_0101__a28c518ff6e6f4720a9f248b1785b1a2b">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__r07797e16294f41f2bd22c3d3e0f4fd86"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__af491e04ac4c749678edb5ccd96ecad9c">YARNMemoryAllocated</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__ab2771fecf43a4a048713d458958feac6">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__ab22cfcbebf544c61b8dc9284e58cf92a">Memory allocated to Yarn. The unit is MB.</p>
<p id="mrs_02_0101__a482cb09ec7f146e997111e48c2165fad">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__re4224e170a464ddcb72136c05158e75b"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__a2e28017342644f3eb52611d00003d7b7">YARNMemoryAvailable</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__ab709decebd9e4b69a20482fd11472034">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a561342c4dfc44654a5ea5ebfcb97c989">Available memory on Yarn. The unit is MB.</p>
<p id="mrs_02_0101__abfa4f9cfe2094a23b33bdd2f66070f57">Value range: 0 to 2147483646.</p>
</td>
</tr>
<tr id="mrs_02_0101__refec09246ff047d7a9e3bf7d06a42cfd"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__aaa3390f6e15d4e5ea1140e5d599e6035">YARNMemoryAvailablePercentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a67ac734ecc7b4b018a960953697740ed">Percentage</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__ac111dffe2233485382eab7979f3b65b3">Percentage of available memory on Yarn, that is, the proportion of available memory to total memory on Yarn.</p>
<p id="mrs_02_0101__ae0f790dfccb9435484818f104234f1ea">Value range: 0 to 100.</p>
</td>
</tr>
<tr id="mrs_02_0101__r0c96fd2f38dc41c6abb55f6997c2f4ad"><td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.1 "><p id="mrs_02_0101__af44c9409613840b281cd58f04122b5f8">YARNMemoryPending</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.2 "><p id="mrs_02_0101__a462b3630c14b4fdcb4fbeabe4d5767cb">Integer</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.14.2.5.1.3 "><p id="mrs_02_0101__a4a7656ef0e7d41e994bb809330d24e1f">Pending memory on Yarn.</p>
<p id="mrs_02_0101__a5a450cbc34414ab599f331078b5f7d88">Value range: 0 to 2147483646.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="mrs_02_0101__n787a8568e53545df90ce7ad5f5009ce1"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_02_0101__af3214f6e277f436b90b2c7c3cc9aa758">When the value type is percentage or ratio in <a href="#mrs_02_0101__t27de3279a99a48968dacb015c498d9cb">Table 15</a>, the valid value can be accurate to percentile. The percentage metric value is a decimal value with a percent sign (%) removed. For example, 16.80 represents 16.80%.</p>
</div></div>
</div>
<div class="section" id="mrs_02_0101__section38599577193858"><h4 class="sectiontitle">Response message.</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__t06313921cd3b49b9a1e7ad6f50906514" frame="border" border="1" rules="all"><caption><b>Table 16 </b>Response parameters</caption><thead align="left"><tr id="mrs_02_0101__r530cb4fed5254b59aa55a0befdae0173"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.2.4.1.1"><p id="mrs_02_0101__a20285c3d3f614f1299f009e7728457b8">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.2.4.1.2"><p id="mrs_02_0101__aab74eea885f3420cbae6b4fc00f34ca4">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.4.1.3"><p id="mrs_02_0101__a918aeea4c09a48e2b810df57b2d69c31">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__r2501c5439407495cb6c99ccc1e15bcf5"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0101__p8592902318">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0101__p85921801534">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0101__p1459200439">Cluster ID, which is returned by the system after the cluster is created.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="mrs_02_0101__section1210015461189"><h4 class="sectiontitle">Examples</h4><ul id="mrs_02_0101__ul1958913536182"><li id="mrs_02_0101__li1558945321814">Request example<ul id="mrs_02_0101__ul191093213312"><li id="mrs_02_0101__li155113193316">Creating an Analysis Cluster<pre class="screen" id="mrs_02_0101__screen1426165712313">{
"cluster_version": "<span id="mrs_02_0101__text7199141413214"></span>MRS <em id="mrs_02_0101__i147061830204113">3.X.X</em>",
"cluster_name": "mrs_DyJA_dm",
"cluster_type": "ANALYSIS",
"charge_info": {
"charge_mode": "postPaid"
},
"region": "",
"availability_zone": "",
"vpc_name": "vpc-37cd",
"subnet_name": "subnet-ed99",
"components": "Hadoop,Spark2x,HBase,Hive,Hue,Loader,Flink,Oozie,Ranger,Tez",
"safe_mode": "KERBEROS",
"manager_admin_password": "Mrs@1234",
"login_mode": "PASSWORD",
"node_root_password": "Mrs@1234",
"log_collection": 1,
"mrs_ecs_default_agency": "MRS_ECS_DEFAULT_AGENCY",
"tags": [
{
"key": "tag1",
"value": "111"
},
{
"key": "tag2",
"value": "222"
}
],
"node_groups": [
{
"group_name": "master_node_default_group",
"node_num": 2,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1
},
{
"group_name": "core_node_analysis_group",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1
},
{
"group_name": "task_node_analysis_group",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1,
"auto_scaling_policy": {
"auto_scaling_enable": true,
"min_capacity": 0,
"max_capacity": 1,
"resources_plans": [],
"exec_scripts": [],
"rules": [
{
"name": "default-expand-1",
"description": "",
"adjustment_type": "scale_out",
"cool_down_minutes": 5,
"scaling_adjustment": "1",
"trigger": {
"metric_id": 2003,
"metric_name": "StormSlotAvailablePercentage",
"metric_value": 100,
"comparison_operator_id": 2003,
"comparison_operator": "LTOE",
"evaluation_periods": "1"
}
}
]
}
}
]
}</pre>
</li><li id="mrs_02_0101__li2872155975712">Creating a Streaming Cluster<pre class="screen" id="mrs_02_0101__screen15872259105710">{
"cluster_version": "<span id="mrs_02_0101__text1435255435410"></span>MRS <em id="mrs_02_0101__i97625018412">3.X.X</em>",
"cluster_name": "mrs_Dokle_dm",
"cluster_type": "STREAMING",
"charge_info": {
"charge_mode": "postPaid"
},
"region": "",
"availability_zone": "",
"vpc_name": "vpc-37cd",
"subnet_name": "subnet-ed99",
"components": "Storm,Kafka,Flume,Ranger",
"safe_mode": "KERBEROS",
"manager_admin_password": "Mrs@1234",
"login_mode": "PASSWORD",
"node_root_password": "Mrs@1234",
"log_collection": 1,
"mrs_ecs_default_agency": "MRS_ECS_DEFAULT_AGENCY",
"tags": [
{
"key": "tag1",
"value": "111"
},
{
"key": "tag2",
"value": "222"
}
],
"node_groups": [
{
"group_name": "master_node_default_group",
"node_num": 2,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1
},
{
"group_name": "core_node_streaming_group",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
},
{
"group_name": "task_node_streaming_group",
"node_num": 0,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
"auto_scaling_policy": {
"auto_scaling_enable": true,
"min_capacity": 0,
"max_capacity": 1,
"resources_plans": [],
"exec_scripts": [],
"rules": [
{
"name": "default-expand-1",
"description": "",
"adjustment_type": "scale_out",
"cool_down_minutes": 5,
"scaling_adjustment": "1",
"trigger": {
"metric_id": 2003,
"metric_name": "StormSlotAvailablePercentage",
"metric_value": 100,
"comparison_operator_id": 2003,
"comparison_operator": "LTOE",
"evaluation_periods": "1"
}
}
]
}
}
]
}</pre>
</li><li id="mrs_02_0101__li156631111875">Creating a Hybrid Cluster<pre class="screen" id="mrs_02_0101__screen53344113249">{
"cluster_version": "<span id="mrs_02_0101__text1768583018583"></span>MRS <em id="mrs_02_0101__i765975713419">3.X.X</em>",
"cluster_name": "mrs_onmm_dm",
"cluster_type": "MIXED",
"charge_info": {
"charge_mode": "postPaid"
},
"region": "",
"availability_zone": "",
"vpc_name": "vpc-37cd",
"subnet_name": "subnet-ed99",
"components": "Hadoop,Spark2x,HBase,Hive,Hue,Loader,Kafka,Storm,Flume,Flink,Oozie,Ranger,Tez",
"safe_mode": "KERBEROS",
"manager_admin_password": "Mrs@1234",
"login_mode": "PASSWORD",
"node_root_password": "Mrs@1234",
"log_collection": 1,
"mrs_ecs_default_agency": "MRS_ECS_DEFAULT_AGENCY",
"tags": [
{
"key": "tag1",
"value": "111"
},
{
"key": "tag2",
"value": "222"
}
],
"node_groups": [
{
"group_name": "master_node_default_group",
"node_num": 2,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1
},
{
"group_name": "core_node_streaming_group",
"node_num": 3,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1
},
{
"group_name": "core_node_analysis_group",
"node_num": 3,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
},
{
"group_name": "task_node_analysis_group",
"node_num": 1,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1
},
{
"group_name": "task_node_streaming_group",
"node_num": 0,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1
}
]
}</pre>
</li><li id="mrs_02_0101__li193311387716">Creating a Customized Cluster with Co-deployed Management and Control Nodes<pre class="screen" id="mrs_02_0101__screen75593319241">{
"cluster_version": "MRS <em id="mrs_02_0101__i396415614213">3.X.X</em>",
"cluster_name": "mrs_heshe_dm",
"cluster_type": "CUSTOM",
"charge_info": {
"charge_mode": "postPaid"
},
"region": "",
"availability_zone": "",
"vpc_name": "vpc-37cd",
"subnet_name": "subnet-ed99",
"components": "Hadoop,Spark2x,HBase,Hive,Hue,Loader,Kafka,Storm,Flume,Flink,Oozie,Ranger,Tez",
"safe_mode": "KERBEROS",
"manager_admin_password": "Mrs@1234",
"login_mode": "PASSWORD",
"node_root_password": "Mrs@1234",
"mrs_ecs_default_agency": "MRS_ECS_DEFAULT_AGENCY",
"template_id": "mgmt_control_combined_v2",
"log_collection": 1,
"tags": [
{
"key": "tag1",
"value": "111"
},
{
"key": "tag2",
"value": "222"
}
],
"node_groups": [
{
"group_name": "master_node_default_group",
"node_num": 3,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
"assigned_roles": [
"OMSServer:1,2",
"SlapdServer:1,2",
"KerberosServer:1,2",
"KerberosAdmin:1,2",
"quorumpeer:1,2,3",
"NameNode:2,3",
"Zkfc:2,3",
"JournalNode:1,2,3",
"ResourceManager:2,3",
"JobHistoryServer:2,3",
"DBServer:1,3",
"Hue:1,3",
"LoaderServer:1,3",
"MetaStore:1,2,3",
"WebHCat:1,2,3",
"HiveServer:1,2,3",
"HMaster:2,3",
"MonitorServer:1,2",
"Nimbus:1,2",
"UI:1,2",
"JDBCServer2x:1,2,3",
"JobHistory2x:2,3",
"SparkResource2x:1,2,3",
"oozie:2,3",
"LoadBalancer:2,3",
"TezUI:1,3",
"TimelineServer:3",
"RangerAdmin:1,2",
"UserSync:2",
"TagSync:2",
"KerberosClient",
"SlapdClient",
"meta",
"HSConsole:2,3",
"FlinkResource:1,2,3",
"DataNode:1,2,3",
"NodeManager:1,2,3",
"IndexServer2x:1,2",
"ThriftServer:1,2,3",
"RegionServer:1,2,3",
"ThriftServer1:1,2,3",
"RESTServer:1,2,3",
"Broker:1,2,3",
"Supervisor:1,2,3",
"Logviewer:1,2,3",
"Flume:1,2,3",
"HSBroker:1,2,3"
]
},
{
"group_name": "node_group_1",
"node_num": 3,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
"assigned_roles": [
"DataNode",
"NodeManager",
"RegionServer",
"Flume:1",
"Broker",
"Supervisor",
"Logviewer",
"HBaseIndexer",
"KerberosClient",
"SlapdClient",
"meta",
"HSBroker:1,2",
"ThriftServer",
"ThriftServer1",
"RESTServer",
"FlinkResource"]
},
{
"group_name": "node_group_2",
"node_num": 1,
"node_size": "Sit3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
"assigned_roles": [
"NodeManager",
"KerberosClient",
"SlapdClient",
"meta",
"FlinkResource"]
}
]
}</pre>
</li><li id="mrs_02_0101__li11339161515175">Creating a Cluster with Customized Management and Control Planes Deployed Separately<pre class="screen" id="mrs_02_0101__screen1796711517242">{
"cluster_version": "MRS <em id="mrs_02_0101__i79031644215">3.X.X</em>",
"cluster_name": "mrs_jdRU_dm01",
"cluster_type": "CUSTOM",
"charge_info": {
"charge_mode": "postPaid"
},
"region": "",
"availability_zone": "",
"vpc_name": "vpc-37cd",
"subnet_name": "subnet-ed99",
"components": "Hadoop,Spark2x,HBase,Hive,Hue,Loader,Kafka,Storm,Flume,Flink,Oozie,Ranger,Tez",
"safe_mode": "KERBEROS",
"manager_admin_password": "Mrs@1234",
"login_mode": "PASSWORD",
"node_root_password": "Mrs@1234",
"mrs_ecs_default_agency": "MRS_ECS_DEFAULT_AGENCY",
"log_collection": 1,
"template_id": "mgmt_control_separated_v2",
"tags": [
{
"key": "aaa",
"value": "111"
},
{
"key": "bbb",
"value": "222"
}
],
"node_groups": [
{
"group_name": "master_node_default_group",
"node_num": 5,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
"assigned_roles": [
"OMSServer:1,2",
"SlapdServer:3,4",
"KerberosServer:3,4",
"KerberosAdmin:3,4",
"quorumpeer:3,4,5",
"NameNode:4,5",
"Zkfc:4,5",
"JournalNode:1,2,3,4,5",
"ResourceManager:4,5",
"JobHistoryServer:4,5",
"DBServer:3,5",
"Hue:1,2",
"LoaderServer:1,2",
"MetaStore:1,2,3,4,5",
"WebHCat:1,2,3,4,5",
"HiveServer:1,2,3,4,5",
"HMaster:4,5",
"MonitorServer:1,2",
"Nimbus:1,2",
"UI:1,2",
"JDBCServer2x:1,2,3,4,5",
"JobHistory2x:4,5",
"SparkResource2x:1,2,3,4,5",
"oozie:1,2",
"LoadBalancer:1,2",
"TezUI:1,2",
"TimelineServer:5",
"RangerAdmin:1,2",
"KerberosClient",
"SlapdClient",
"meta",
"HSConsole:1,2",
"FlinkResource:1,2,3,4,5",
"DataNode:1,2,3,4,5",
"NodeManager:1,2,3,4,5",
"IndexServer2x:1,2",
"ThriftServer:1,2,3,4,5",
"RegionServer:1,2,3,4,5",
"ThriftServer1:1,2,3,4,5",
"RESTServer:1,2,3,4,5",
"Broker:1,2,3,4,5",
"Supervisor:1,2,3,4,5",
"Logviewer:1,2,3,4,5",
"Flume:1,2,3,4,5",
"HBaseIndexer:1,2,3,4,5",
"TagSync:1",
"UserSync:1"]
},
{
"group_name": "node_group_1",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 300
},
"data_volume_count": 1,
"assigned_roles": [
"DataNode",
"NodeManager",
"RegionServer",
"Flume:1",
"Broker",
"Supervisor",
"Logviewer",
"HBaseIndexer",
"KerberosClient",
"SlapdClient",
"meta",
"HSBroker:1,2",
"ThriftServer",
"ThriftServer1",
"RESTServer",
"FlinkResource"]
}
]
}</pre>
</li><li id="mrs_02_0101__li79741144141413">Creating a User-Defined Data Cluster<pre class="screen" id="mrs_02_0101__screen1797424441417">{
"cluster_version": "MRS <em id="mrs_02_0101__i2986122217421">3.X.X</em>",
"cluster_name": "mrs_jdRU_dm02",
"cluster_type": "CUSTOM",
"charge_info": {
"charge_mode": "postPaid"
},
"region": "",
"availability_zone": "",
"vpc_name": "vpc-37cd",
"subnet_name": "subnet-ed99",
"components": "Hadoop,Spark2x,HBase,Hive,Hue,Loader,Kafka,Storm,Flume,Flink,Oozie,Ranger,Tez",
"safe_mode": "KERBEROS",
"manager_admin_password": "Mrs@1234",
"login_mode": "PASSWORD",
"node_root_password": "Mrs@1234",
"mrs_ecs_default_agency": "MRS_ECS_DEFAULT_AGENCY",
"template_id": "mgmt_control_data_separated_v2",
"log_collection": 1,
"tags": [
{
"key": "aaa",
"value": "111"
},
{
"key": "bbb",
"value": "222"
}
],
"node_groups": [
{
"group_name": "master_node_default_group",
"node_num": 9,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1,
"assigned_roles": [
"OMSServer:1,2",
"SlapdServer:5,6",
"KerberosServer:5,6",
"KerberosAdmin:5,6",
"quorumpeer:5,6,7,8,9",
"NameNode:3,4",
"Zkfc:3,4",
"JournalNode:5,6,7",
"ResourceManager:8,9",
"JobHistoryServer:8",
"DBServer:8,9",
"Hue:8,9",
"FlinkResource:3,4",
"LoaderServer:3,5",
"MetaStore:8,9",
"WebHCat:5",
"HiveServer:8,9",
"HMaster:8,9",
"FTP-Server:3,4",
"MonitorServer:3,4",
"Nimbus:8,9",
"UI:8,9",
"JDBCServer2x:8,9",
"JobHistory2x:8,9",
"SparkResource2x:5,6,7",
"oozie:4,5",
"EsMaster:7,8,9",
"LoadBalancer:8,9",
"TezUI:5,6",
"TimelineServer:5",
"RangerAdmin:4,5",
"UserSync:5",
"TagSync:5",
"KerberosClient",
"SlapdClient",
"meta",
"HSBroker:5",
"HSConsole:3,4",
"FlinkResource:3,4"]
},
{
"group_name": "node_group_1",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1,
"assigned_roles": [
"DataNode",
"NodeManager",
"RegionServer",
"Flume:1",
"GraphServer",
"KerberosClient",
"SlapdClient",
"meta",
"HSBroker:1,2"
]
},
{
"group_name": "node_group_2",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1,
"assigned_roles": [
"HBaseIndexer",
"SolrServer[3]",
"EsNode[2]",
"KerberosClient",
"SlapdClient",
"meta",
"SolrServerAdmin:1,2"]
},
{
"group_name": "node_group_3",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1,
"assigned_roles": [
"Redis[2]",
"KerberosClient",
"SlapdClient",
"meta"]
},
{
"group_name": "node_group_4",
"node_num": 3,
"node_size": "rc3.4xlarge.4.linux.bigdata",
"root_volume": {
"type": "SAS",
"size": 100
},
"data_volume": {
"type": "SAS",
"size": 600
},
"data_volume_count": 1,
"assigned_roles": [
"Broker",
"Supervisor",
"Logviewer",
"KerberosClient",
"SlapdClient",
"meta"]
}
]
}</pre>
</li></ul>
</li><li id="mrs_02_0101__li543710159193">Example response<ul id="mrs_02_0101__ul74546015411"><li id="mrs_02_0101__li261875810320">Example of a normal response<pre class="screen" id="mrs_02_0101__screen35601520440">{
"cluster_id": "da1592c2-bb7e-468d-9ac9-83246e95447a"
}</pre>
</li><li id="mrs_02_0101__li2341123613411">Failed sample response<pre class="screen" id="mrs_02_0101__screen172672435413">{
"error_code": "MRS.0002",
"error_msg": "The parameter is invalid."
}</pre>
</li></ul>
</li></ul>
</div>
<div class="section" id="mrs_02_0101__section4391766619434"><h4 class="sectiontitle">Status Code</h4><p id="mrs_02_0101__p5547365016031"><a href="#mrs_02_0101__table1584477916050">Table 17</a> describes the status code of this API.</p>
<div class="tablenoborder"><a name="mrs_02_0101__table1584477916050"></a><a name="table1584477916050"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0101__table1584477916050" frame="border" border="1" rules="all"><caption><b>Table 17 </b>Status Code</caption><thead align="left"><tr id="mrs_02_0101__row1339492016050"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.3.2.3.1.1"><p id="mrs_02_0101__p3411176516050">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.6.3.2.3.1.2"><p id="mrs_02_0101__p1158961516050">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0101__row3719767816050"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.3.1.1 "><p id="mrs_02_0101__p6022194016050">200</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.3.1.2 "><p id="mrs_02_0101__p4613894216050">A cluster is created successfully.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="mrs_02_0101__p168245499518">For the description about error status codes, see <a href="mrs_02_0015.html">Status Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_02_0100.html">Cluster management APIs (V2)</a></div>
</div>
</div>