forked from docs/doc-exports
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>
2065 lines
162 KiB
HTML
2065 lines
162 KiB
HTML
<a name="mrs_02_0028"></a><a name="mrs_02_0028"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Cluster and Running a Job</h1>
|
|
<div id="body8662426"><div class="section" id="mrs_02_0028__s37afee5a7f0344fa98179a36b0556841"><h4 class="sectiontitle">Function</h4><p id="mrs_02_0028__a648fea09e07040849568eb657b4a3748">This API is used to create an MRS cluster and submit a job in the cluster. This API is incompatible with Sahara.</p>
|
|
<p id="mrs_02_0028__a38812e904c034b6290e67497766ad979">A maximum of 10 clusters can be concurrently created. </p>
|
|
<p id="mrs_02_0028__a32534d1b415e41e38cc4f72be0814024">Before using the API, you need to obtain the resources listed in <a href="#mrs_02_0028__tbbd2986d18874f82a8ab886ac25a57f8">Table 1</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__tbbd2986d18874f82a8ab886ac25a57f8"></a><a name="tbbd2986d18874f82a8ab886ac25a57f8"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__tbbd2986d18874f82a8ab886ac25a57f8" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Obtaining resources</caption><thead align="left"><tr id="mrs_02_0028__rb8d7bb617c8e401d835b3c77bad750eb"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.1.5.2.3.1.1"><p id="mrs_02_0028__a7230cc50da2046438b7ce546b0df50b0">Resource</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="80%" id="mcps1.3.1.5.2.3.1.2"><p id="mrs_02_0028__abea8810be493490e91e9d5ba4b2a37f9">How to Obtain</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__r86ba4472ec2c4913adeb0cfbb9c5b679"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.5.2.3.1.1 "><p id="mrs_02_0028__afedb9fba77044b72981436b1c265fa34">VPC</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.5.2.3.1.2 "><p id="mrs_02_0028__af90e107da77844efb1b16b47eb089751">See operation instructions in <span class="parmvalue" id="mrs_02_0028__parmvalue458414556244"><b>VPC > Querying VPCs</b></span> and <span class="parmvalue" id="mrs_02_0028__parmvalue16584155192417"><b>VPC > Creating a VPC</b></span> in the <i><cite id="mrs_02_0028__cite593a9166820e462bbd42113253ad5a45101608">VPC API Reference</cite></i>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__re8a14fa01edb4772ab9da326952a8401"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.5.2.3.1.1 "><p id="mrs_02_0028__affe524418f25422ab47ed9e2a3718584">Subnet</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.5.2.3.1.2 "><p id="mrs_02_0028__ae4ce4a66af554a60b2cf8681be434531">See operation instructions in <span class="parmvalue" id="mrs_02_0028__parmvalue1551615511259"><b>Subnet > Querying Subnets</b></span> and <span class="parmvalue" id="mrs_02_0028__parmvalue1851612512511"><b>Subnet > Creating a Subnet</b></span> in the <i><cite id="mrs_02_0028__ceca2e76bfc7844189ad80bb0ebc26b2b">VPC API Reference</cite></i>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r2e91958f22114a4ca9dadd9bc99c9579"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.5.2.3.1.1 "><p id="mrs_02_0028__a9f9e837842c2421093ff2278b2799ac3">Key Pair</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.5.2.3.1.2 "><p id="mrs_02_0028__a84edd7cf268441518c10fb14dd6caf19">See operation instructions in <span class="parmvalue" id="mrs_02_0028__parmvalue310042415259"><b>ECS SSH Key Management > Querying SSH Key Pairs</b></span> and <span class="parmvalue" id="mrs_02_0028__parmvalue4100724122517"><b>ECS SSH Key Management > Creating and Importing an SSH Key Pair</b></span> in the <i><cite id="mrs_02_0028__c646d94b0f5ca45e7a0aeb6c469ab3d44">ECS API Reference</cite></i>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r7d55c3c90c82441f9f123f81dcf78e85"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.5.2.3.1.1 "><p id="mrs_02_0028__a95fc2f7c9caf4bb3bbbc6c25a58b7c7f">Region</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.5.2.3.1.2 "><p id="mrs_02_0028__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_0028__reda47ef0882f40ef9e8b0001b85173d2"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.5.2.3.1.1 "><p id="mrs_02_0028__aa6e817b43e73414d8d9207fc1a3ee9fc">Version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.5.2.3.1.2 "><p id="mrs_02_0028__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_0028__r6144e644976b479a86047bcefe793c8a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.5.2.3.1.1 "><p id="mrs_02_0028__ac16550178799462ea759a53171a44ded">Component</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80%" headers="mcps1.3.1.5.2.3.1.2 "><ul id="mrs_02_0028__ub1cf1cf2361e4c7b9323e3d82b9da2b3"><li id="mrs_02_0028__mrs_02_0101_li147181012363">MRS 3.3.0-LTS supports the following components:<ul id="mrs_02_0028__mrs_02_0101_ul0718190173617"><li id="mrs_02_0028__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_0028__mrs_02_0101_li97181701368">A streaming cluster contains the following components: Kafka, Flume, ZooKeeper, and Ranger.</li><li id="mrs_02_0028__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_0028__mrs_02_0101_ul1471810019362"><li id="mrs_02_0028__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_0028__mrs_02_0101_li1232118205515">MRS 3.2.0-LTS.2 supports the following components:<ul id="mrs_02_0028__mrs_02_0101_ul157991140114913"><li id="mrs_02_0028__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_0028__mrs_02_0101_li53665416500">A streaming cluster contains the following components: Kafka, Flume, ZooKeeper, and Ranger.</li><li id="mrs_02_0028__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_0028__mrs_02_0101_ul43217820557"><li id="mrs_02_0028__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_0028__mrs_02_0101_li115891437111816">MRS 3.1.2-LTS.6 supports the following components:<ul id="mrs_02_0028__mrs_02_0101_ul36428231395"><li id="mrs_02_0028__mrs_02_0101_li166426231694">The analysis cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, <span id="mrs_02_0028__mrs_02_0101_text17642723893">HetuEngine</span>, Loader, Flink, Oozie, ZooKeeper, Ranger, and Tez.</li><li id="mrs_02_0028__mrs_02_0101_li364292311912">The streaming cluster contains the following components: Kafka, Flume, ZooKeeper, and Ranger.</li><li id="mrs_02_0028__mrs_02_0101_li126424231291">The hybrid cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, <span id="mrs_02_0028__mrs_02_0101_text1264216231494">HetuEngine</span>, Loader, Flink, Oozie, ZooKeeper, Ranger, Tez, Kafka, and Flume.</li><li id="mrs_02_0028__mrs_02_0101_li11642162314916">A custom cluster contains the following components: Hadoop, Spark2x, HBase, Hive, Hue, <span id="mrs_02_0028__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_0028__s6021ea57b9ae43f096883a282a7c2d72"><h4 class="sectiontitle">URI</h4><ul id="mrs_02_0028__u749b0e1d16034ea99b9d31909ce7ee80"><li id="mrs_02_0028__li1998902184618">Format<p id="mrs_02_0028__p24604359464"><a name="mrs_02_0028__li1998902184618"></a><a name="li1998902184618"></a>POST /v1.1/{project_id}/run-job-flow</p>
|
|
</li><li id="mrs_02_0028__li831194172516">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t47fe814870a44b5785f69a3b809579e9" frame="border" border="1" rules="all"><caption><b>Table 2 </b>URI parameter description</caption><thead align="left"><tr id="mrs_02_0028__re9bbd9c922ba426989455a0ad002d5fa"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="mrs_02_0028__a6ff125100aeb488ab3c691f6aebbe842">Parameter</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_0028__en-us_topic_0110581924_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_0028__a356b6b93d49344c8bd18420f01efeb80">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__re0bbc7647af140e296dc427ad3a27834"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0028__a06f652cb33d1470abf4b4075e646a0f1">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_0028__a07565704d44b42bc9132dec65a94c293">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_0028__a035761cd241e41f89277fd848546a676">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_0028__s1a12826783b346baa5bdee496b666d24"><h4 class="sectiontitle">Request</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t352e878f834349219bc14d236769d2dc" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request parameter description</caption><thead align="left"><tr id="mrs_02_0028__re983cdf247ec452f85b2bde422b984b9"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.2.5.1.1"><p id="mrs_02_0028__a2a61b82bf43946429e79489ebaf3ff69"><strong id="mrs_02_0028__b11838192435817">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.2.5.1.2"><p id="mrs_02_0028__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_0028__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_0028__en-us_topic_0110581924_p216409810328">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__rf33c21d0560547b187d77d486dac3e0b"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__a83fcdfe345364ddcace3ab1b7f0ee7c4">billing_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a2da384665ec94a12824d5456fe5f9f95">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a223d58355d174ae6a6512728e2e640cb">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__p9774145225117">Cluster billing mode. Set this parameter to <strong id="mrs_02_0028__b1788128135318">12</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r73921e70517f428d9d95585c7e2ddc08"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p936958414737">data_center</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a374f49fd04a24f6c946d9c283c8d3318">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p212377514737">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a2bf00699e5414e21a291d53979747d58">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_0028__r1238a19a3f9a4ee0806b59b44f1878e9"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__aac716485e43246bb897da07516e358ed">available_zone_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a4a9c8007119d4fd09cb935907b706cd0">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__ae1812b9ff8b44eb19fac110e339a9beb">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a8ed99a72a38f43f58e6c3c5c99c0b361">AZ ID. 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>
|
|
<ul id="mrs_02_0028__ul14495142818418"><li id="mrs_02_0028__li19284181711238">Region: eu-de<ul id="mrs_02_0028__ul17539191511153"><li id="mrs_02_0028__li445511913237">AZ1(eu-de-01): eu-de-01</li><li id="mrs_02_0028__li69832031715">AZ2(eu-de-02): eu-de-02</li><li id="mrs_02_0028__li1461313211711">AZ3(eu-de-03): eu-de-03</li></ul>
|
|
</li><li id="mrs_02_0028__li1289918465151">Region: eu-nl<ul id="mrs_02_0028__ul425312288170"><li id="mrs_02_0028__li181933352287">AZ1(eu-nl-01): eu-nl-01</li><li id="mrs_02_0028__li19260194512812">AZ2(eu-nl-02): eu-nl-02</li><li id="mrs_02_0028__li19138146101816">AZ3(eu-nl-03): eu-nl-03</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r6f024d769ed64c83ba896eac6166aead"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__ae2538261d74e439ebff18c3cbeb49f0a">cluster_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a5620a97d17884f028fdb168d871808c3">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a3ca2ba599e8b4fc4b8cfe2bab0274488">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__ab1b64ac2983342eab0fa713b22ad046b">Cluster name. It must be unique.</p>
|
|
<p id="mrs_02_0028__a8c13a43932644cd194446a3ddc9b4222">It contains only 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r8267e706522e4364b16a2a80b2d672a0"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p231175711111">vpc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__ad9ec84dd494146488426063a3c368beb">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p83647611111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__en-us_topic_0110581924_p64570211111">Name of the VPC where the subnet locates</p>
|
|
<p id="mrs_02_0028__a57b6b4d149ce42609b1a777a8bc11456">Perform the following operations to obtain the VPC name from the VPC management console:</p>
|
|
<ol id="mrs_02_0028__oa28c49c20dcf42e2a0b88dda52da437a"><li id="mrs_02_0028__l51bc6925de3e41789b9bec7645fc5b7e">Log in to the management console.</li><li id="mrs_02_0028__lb7f62ae5dd1b499294b669e96d29f380">Click <strong id="mrs_02_0028__b871804817174">Virtual Private Cloud</strong> and select <strong id="mrs_02_0028__b69764531811">Virtual Private Cloud</strong> from the left list.</li></ol>
|
|
<p id="mrs_02_0028__en-us_topic_0110581924_p209150614269">On the <strong id="mrs_02_0028__b151095279183">Virtual Private Cloud</strong> page, obtain the VPC name from the list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r24b572338f34482fa4dddeb126e76368"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__a37a04c7bba1746118bbc8c3b6036abc7">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a7b72e511b3384dd9b2948f04f52b0794">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a9fbde6a6735d49e29054cb15e33339be">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__en-us_topic_0110581924_p19859110328">ID of the VPC where the subnet locates</p>
|
|
<p id="mrs_02_0028__a8f02b526cc0a4f5ba71ef6f5d50d76e5">Perform the following operations to obtain the VPC ID from the VPC management console:</p>
|
|
<ol id="mrs_02_0028__o2461c8fa0af04786b2b17b0a9f6bc527"><li id="mrs_02_0028__l75db18107fb0415fbbf26b7657ccea47">Log in to the management console.</li><li id="mrs_02_0028__l18a3d658461747fa8e1851137f964b4b">Click <strong id="mrs_02_0028__b370954616187">Virtual Private Cloud</strong> and select <strong id="mrs_02_0028__b1972414613182">Virtual Private Cloud</strong> from the left list.</li></ol>
|
|
<p id="mrs_02_0028__a666e64a589424e32a0648a91f67bbbaf">On the <strong id="mrs_02_0028__b94507484181">Virtual Private Cloud</strong> page, obtain the VPC ID from the list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r21ff3099f24a43968cbd6e3846ba5dec"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__ad0842a95be3c4969acf0d0e1e46f3cc7">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a1dcf56a892544512ba995a27c1df21d0">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a92ad9320b5724220bfbf21da513583bf">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__en-us_topic_0110581924_p90948410328">Network ID</p>
|
|
<p id="mrs_02_0028__a3b7712e151864723a8b155ceb8aa010b">Perform the following operations to obtain the network ID of the VPC from the VPC management console:</p>
|
|
<ol id="mrs_02_0028__o08b882ea36524cb485f1fbe1815c2801"><li id="mrs_02_0028__l0dfc4d75e91b46579b6bfa796e833234">Log in to the management console.</li><li id="mrs_02_0028__leefadc43b7d244199ee1febad7bf8a17">Click <strong id="mrs_02_0028__b1777052612215">Virtual Private Cloud</strong> and select <strong id="mrs_02_0028__b27716269215">Virtual Private Cloud</strong> from the left list.</li></ol>
|
|
<p id="mrs_02_0028__a89c751cf382443aab397f778503230c4">On the <strong id="mrs_02_0028__b149559284213">Virtual Private Cloud</strong> page, obtain the network ID of the VPC from the list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rf9beb10a403b4466a3839b0488da39c8"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__a6f6642bf68a640ae87b0ba27e6a98d26">subnet_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a7a63abe0b83844a0b3dc5a62f542bedb">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__ace39838b445a44d4a1ac0872693d96e4">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a7fd95e18858c4aa1993e31d4a318722b">Subnet name</p>
|
|
<p id="mrs_02_0028__acffbf66d63104342af65d443a7c2535b">Perform the following operations to obtain the subnet name from the VPC management console:</p>
|
|
<ol id="mrs_02_0028__en-us_topic_0110581924_ol66489142912"><li id="mrs_02_0028__l6aaf7cdd200e46f5af9190e9e5ad1556">Log in to the management console.</li><li id="mrs_02_0028__l86e4bb761ca145689b40bc6bd170524a">Click <strong id="mrs_02_0028__b19285111183219">Virtual Private Cloud</strong> and select <strong id="mrs_02_0028__b11286171118326">Virtual Private Cloud</strong> from the left list.</li></ol>
|
|
<p id="mrs_02_0028__a4a33d5804be0482da913a259fb838194">On the <strong id="mrs_02_0028__b1659413223320">Virtual Private Cloud</strong> page, obtain the subnet name of the VPC from the list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r55e9f77ac29e4b65bc2ffce020dcb6ab"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p090158114114">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_0028__en-us_topic_0110581924_p39014815412">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__ac09e921f6e784a6d8d787efdac5ff221">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__p655125052610">Security group ID of the cluster</p>
|
|
<ul id="mrs_02_0028__ul81965217266"><li id="mrs_02_0028__li019352102619">If this parameter is left blank, MRS automatically creates a security group, whose name starts with <strong id="mrs_02_0028__b8759613193415">mrs_{cluster_name}</strong>.</li><li id="mrs_02_0028__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_0028__r7f530a05ee7246e498acc21421f95981"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p759171819510">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__en-us_topic_0110581924_p9591518958">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p959118458">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__en-us_topic_0110581924_p185913183511">Cluster tag</p>
|
|
<ul id="mrs_02_0028__ul126231909273"><li id="mrs_02_0028__li8623805274">A cluster allows a maximum of 10 tags. A tag name (key) must be unique in a cluster.</li><li id="mrs_02_0028__li320814410270">A tag key or value cannot contain the following special characters: =*<>\,|/</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__ra6d0439a4ead42f29b3945d1d029a02b"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__a60e886dd64c3490ebf4af986527c4a3f">cluster_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__en-us_topic_0110581924_p403882154628">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a6ac7ae7a1b24415c90f55556ea00d93e">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a03e4f05c48db4feab596857da020bed1">Cluster version</p>
|
|
<p id="mrs_02_0028__p201665831918">Possible values are as follows:</p>
|
|
<ul id="mrs_02_0028__ul894116248197"><li id="mrs_02_0028__li330673912112">MRS 3.1.2-LTS.6</li><li id="mrs_02_0028__li19613937777">MRS 3.2.0-LTS.2</li><li id="mrs_02_0028__li26781338151414">MRS 3.3.0-LTS.1</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rcc5a86cd3faf423db664babda2486802"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__aa7d04691c05c4d748781407fcdefd9d2">cluster_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__aa1232053fe674087848851a56b436858">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__abc95826a36a44c03a6dea750f2cf289c">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a146b91e54fc349bbb5f324b965041189">Cluster type</p>
|
|
<ul id="mrs_02_0028__u1e20920759264945bb30f2cfa746af30"><li id="mrs_02_0028__labff090bdeb0471e94e04033a147cc06"><strong id="mrs_02_0028__b169822025139">0</strong>: analysis cluster</li><li id="mrs_02_0028__lacbb68d7bdb645f0996e98b8b652fcf7"><strong id="mrs_02_0028__b82067771315">1</strong>: streaming cluster</li></ul>
|
|
<p id="mrs_02_0028__ab03270ad58d74b27b9364c6dc1f187b8">The default value is <strong id="mrs_02_0028__b13598101354513">0</strong>.</p>
|
|
<p id="mrs_02_0028__p685974821918">Note: Currently, hybrid clusters cannot be created using APIs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r8c1959f6c69c4e749d91c7a7c1303b1a"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__a83df1e4195d5424683648236dc74aa41">safe_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__afd9a5e0d3d574ee59366353c09a0d1d5">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__afee6c1e47aa043ad80b1798a1e71cd39">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a3a3ca03d99ba4fe199b6c23c120164e2">Running mode of an MRS cluster</p>
|
|
<ul id="mrs_02_0028__ubb9871076dcd44fb92ba967e206511b3"><li id="mrs_02_0028__la0ab032f28ce4602970324103aee6da2"><strong id="mrs_02_0028__b13761750141317">0</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_0028__li49391628104915"><strong id="mrs_02_0028__b18973559139">1</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 these functions, the users must obtain the relevant permissions from the MRS Manager administrator.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r1c161bb47651479a892b1228fb2c6c24"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__ab0fbedb070e3437cbc3dbcc5902574ea">cluster_admin_secret</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a6a090963f52e4148b07a50a289689c7e">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a2875562d7ebf4667a3bab2f291bc70f2">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a87b16cda51ac40ce8d25df387256e4b5">Password of the MRS Manager administrator</p>
|
|
<ul id="mrs_02_0028__u88ba71e55f4f48ada1d11d7b6c7e08ba"><li id="mrs_02_0028__l2a9726436d89490ead5c126791a3cf3e">Must contain 8 to 32 characters.</li><li id="mrs_02_0028__l147c72a3f4674e5497a08a8e0e64ddf2">Must contain at least three of the following:<ul id="mrs_02_0028__ufd001451aea440ac968e789c42558d99"><li id="mrs_02_0028__lea52332850a146d88eb717d0836ffd18">Lowercase letters</li><li id="mrs_02_0028__l703af6f076dd4a8cb510ef415cc73e8c">Uppercase letters</li><li id="mrs_02_0028__l43053d1e73d142f7abfd9ce653890b7a">Digits</li><li id="mrs_02_0028__l07839f65de7c46eb86df87c157000da6">Special characters: `~!@#$%^&*()-_=+\|[{}];:'",<.>/? and space</li></ul>
|
|
</li><li id="mrs_02_0028__lcad4214ce62248bebf633893d6a7ca81">Cannot be the username or the username spelled backwards.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1380484511368"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__p19805204543614">login_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__p12805345183617">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__p13805144511365">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__p7805114511361">Cluster login mode</p>
|
|
<ul id="mrs_02_0028__ul155676143810"><li id="mrs_02_0028__li16567610389"><strong id="mrs_02_0028__b11474124245712">0</strong>: password</li><li id="mrs_02_0028__li1634749153810"><strong id="mrs_02_0028__b1825720466576">1</strong>: key pair</li></ul>
|
|
<p id="mrs_02_0028__p850774723811">The default value is <strong id="mrs_02_0028__b2080583192519">1</strong>.</p>
|
|
<ul id="mrs_02_0028__ul91021775481"><li id="mrs_02_0028__li51021717484">If <strong id="mrs_02_0028__b123144815253">login_mode</strong> is set to <strong id="mrs_02_0028__b17540451132520">0</strong>, the request body contains the <strong id="mrs_02_0028__b53052045267">cluster_master_secret</strong> field.</li><li id="mrs_02_0028__li15314357487">If <strong id="mrs_02_0028__b5840618263">login_mode</strong> is set to <strong id="mrs_02_0028__b1610146132618">1</strong>, the request body contains the <strong id="mrs_02_0028__b176918297495">node_public_cert_name</strong> field.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row18174146124317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__p2174196184312">cluster_master_secret</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__p141761267437">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__p13176763434">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__p317676184319">Password of user <strong id="mrs_02_0028__b081334920287">root</strong> for logging in to a cluster node</p>
|
|
<p id="mrs_02_0028__p1325717912582">If <strong id="mrs_02_0028__b64896195277">login_mode</strong> is set to <strong id="mrs_02_0028__b19490419172710">0</strong>, the request body contains the <strong id="mrs_02_0028__b204901119112711">cluster_master_secret</strong> field.</p>
|
|
<p id="mrs_02_0028__p11372175116563">A password must meet the following requirements:</p>
|
|
<ul id="mrs_02_0028__ul1119539184514"><li id="mrs_02_0028__li1811918395451">Must be 8 to 26 characters long.</li><li id="mrs_02_0028__li13119739134517">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_0028__li11119183934517">Cannot be the username or the username spelled backwards.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row3407851141016"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__aa1effddbb84243e990fe04b4ff430d9c">node_public_cert_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a467154f22d3e4d7aacd5e864e5176639">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a9a65674559ad4407ab33ee1ee36f5b80">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__ad6d0f114069448f3bc07f3310816d275">Name of a key pair You can use a key pair to log in to the Master node in the cluster.</p>
|
|
<p id="mrs_02_0028__p19954111985816">If <strong id="mrs_02_0028__b5994142416277">login_mode</strong> is set to <strong id="mrs_02_0028__b3999224102715">1</strong>, the request body contains</p>
|
|
<p id="mrs_02_0028__p1418190162920">the <strong id="mrs_02_0028__b1659962811277">node_public_cert_name</strong> field.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rac82746e33e84b35be1dea6bf50d4093"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__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_0028__ab0530a1ecdeb4c0bbec752b732cd96a9">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__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_0028__aa23b3e822680412e9be93ea7e2babc14">Whether to collect logs when cluster creation fails</p>
|
|
<ul id="mrs_02_0028__u34c5777de77a452d9fda2b3813e7127b"><li id="mrs_02_0028__la8133e9b6fab454293ff5e8f784692a3"><strong id="mrs_02_0028__b933312702810">0</strong>: Do not collect.</li><li id="mrs_02_0028__l265859834bbd4bb69d789becab399922"><strong id="mrs_02_0028__b1483031142814">1</strong>: Collect.</li></ul>
|
|
<p id="mrs_02_0028__a343eafaf494045edae28e20940d7acd0">The default value is <strong id="mrs_02_0028__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_0028__row42911710192515"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__aca09870fccd34f18ba64cba75741d2a6">node_groups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__p885381751016">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__p11853817111012">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a007e5ca216d145dbbd97b0d4bc82e865">List of nodes. For more parameter description, see <a href="#mrs_02_0028__table3419221413">Table 4</a>.</p>
|
|
<div class="note" id="mrs_02_0028__note189601174553"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_02_0028__p19185301113">You can select either this parameter or the parameter listed in <a href="#mrs_02_0028__table1231363418103">Table 5</a>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r84186836086749f4bf05018f8e29636f"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__a02894ad7eb84477f94217019a54d490c">component_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__a82d79867f08d4c6fbdb42856fe7717ab">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a41fabee86a5c41b6bd34548f78a1962e">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__a04b1e6724ff84e4fa4d5db059774e9e2">List of service components to be installed. For more parameter description, see <a href="#mrs_02_0028__te1288dba79844d3fa5973939a3739d34">Table 7</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r9cd8370dd28049aabc1f1e3ac6289db2"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p511038810328">add_jobs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__ac05fca7f28084bcaab1e0cfa3f467757">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__a82ebf7cf79904c59bdb4cd7338d624e8">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__af6eb2690cf094db69403b3164682ce91">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_0028__t8ded0b3ae11742cea98a467ce26fd093">Table 8</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1741144112371"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0028__p144118412377">bootstrap_scripts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0028__p1941194113370">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0028__p241241133713">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0028__p12412410370">Bootstrap action script information. For more parameter description, see <a href="#mrs_02_0028__table1258382865010">Table 15</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__table3419221413"></a><a name="table3419221413"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__table3419221413" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="mrs_02_0028__b2385154715285">node_groups</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__row542122254113"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.3.2.5.1.1"><p id="mrs_02_0028__ac5b05a50f1f449e4829d3b701b028fe2">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_0028__a1ef8f3ea1ee446c3a34004f02f68d2a2">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_0028__ac7fa178142ca41c897a022a79776a4c1">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_0028__aa2dd3eb1004e44b18b66f0ed21feabde">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__row1161113116431"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__afe75ebe77df44ab89ab2c60e82a450b3">group_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__aca7f1aca59d4415ca8f75591d8928680">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__ace2cc4b377a641aa8747c2a68e6d4591">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__a3fb79d47e2a444a18636983dc1cc92ea">Node group name.</p>
|
|
<ul id="mrs_02_0028__ul6633524183"><li id="mrs_02_0028__li863412414811">master_node_default_group</li><li id="mrs_02_0028__li117894572088">core_node_analysis_group</li><li id="mrs_02_0028__li179601851916">core_node_streaming_group</li><li id="mrs_02_0028__li691482014916">task_node_analysis_group</li><li id="mrs_02_0028__li197442813913">task_node_streaming_group</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row511171284317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__a5e17d98037cf4608aaf377cb6b0c86b7">node_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__a6c20baa79b64403cb8b9fc5ef00ccbb0">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__ac9dd37c13c6141cd9a74755f29d9af55">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__aaf7587a5c0c64866882c3d29985abf07">Number of nodes. The value ranges from 0 to 500 and the default value is <strong id="mrs_02_0028__b842352706202018">0</strong>. The total number of Core and Task nodes cannot exceed 500.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row2033381220431"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__p262895120102">node_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__p116282511106">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__p262825121013">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__a24b2ca5d7b3f4e7f8235d227e3936378">Instance specifications of a node. For details about the configuration method, see the remarks of <span class="parmname" id="mrs_02_0028__p7f8cdd7317bd4a9d8ec95e3df41b1537"><b>master_node_size</b></span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row10678812104311"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__p18513923162213">root_volume_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__p1226810424222">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__p926817429225">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__p55421057237">Data disk storage space of a node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row193981314317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__p19731222132216">root_volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__p1228114313229">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__p0228154311222">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__p943411585226">Data disk storage type of a node. Currently, SATA, SAS and SSD are supported.</p>
|
|
<ul id="mrs_02_0028__ul1143495819229"><li id="mrs_02_0028__li643418583222">SATA: Common I/O</li><li id="mrs_02_0028__li2434105882216">SAS: High I/O</li><li id="mrs_02_0028__li13435115819221">SSD: Ultra-high I/O</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1637316132436"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__a27ba293135154d6d94eb6bc79198b8ab">data_volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__ad782832270034d39bfcbd0b27ad62ad3">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__ab9719faf14ac41dfac5a5779b0385589">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__afe0a2c42e4a448bba552e7b478a92125">Data disk storage type of a node. Currently, SATA, SAS and SSD are supported.</p>
|
|
<ul id="mrs_02_0028__u2a8e7a5afd3a4350ab3395685875fd12"><li id="mrs_02_0028__l558863a4fb9442faa25f146d6bd59d7f">SATA: Common I/O</li><li id="mrs_02_0028__l49693880022748cf91772190f6f1e13b">SAS: High I/O</li><li id="mrs_02_0028__l7979b225ff7f4714a05e2d5020662f70">SSD: Ultra-high I/O</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row2683131354313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__a9e389b0995234188b5eb79a1c7acdc46">data_volume_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__a260b4d2cb2c54aa1aa68a3f103a42294">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__a2dcb2e9428704ac8b9cdc32ad0ad7d0b">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__a800a2baf0b4b49308498f37519a9ae25">Number of data disks of a node.</p>
|
|
<p id="mrs_02_0028__a8d0b230d64554621b5e8369ddece3891">Value range: 0 to 10</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1798821312434"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__adb88c63b2434471697e26621550184e9">data_volume_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__a12864a2085914006bf80730cdd258462">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__af34227ad20af433b9482735d9009553a">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__a99271d6f14f7489aa5ffbffdc62298cf">Data disk storage space of a node.</p>
|
|
<p id="mrs_02_0028__afe4fe5c5cebd4d6a948bb1693bbdc9fa">Value range: 100 GB to 32,000 GB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row9314114164315"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.2.5.1.1 "><p id="mrs_02_0028__a5e1ebacf4bf84b309510a3b569854d20">auto_scaling_policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.2 "><p id="mrs_02_0028__ab869b4ecdff34f628cd237bd2bea408c">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.3.2.5.1.3 "><p id="mrs_02_0028__a74a64420e89643f38c1d066ca8b70d07">AutoScalingPolicy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.3.2.5.1.4 "><p id="mrs_02_0028__ae0128323b90c4596a12d030bccbb51f0">Auto scaling rule information. This parameter is valid only when <strong id="mrs_02_0028__b320013893115">group_name</strong> is set to <strong id="mrs_02_0028__b10795134163114">task_node_analysis_group</strong> or <strong id="mrs_02_0028__b195631344103116">task_node_streaming_group</strong>. For details, see <a href="#mrs_02_0028__table1231363418103">Table 5</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__table1231363418103"></a><a name="table1231363418103"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__table1231363418103" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Node configuration parameters</caption><thead align="left"><tr id="mrs_02_0028__row931433411014"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.4.2.5.1.1"><p id="mrs_02_0028__p65249918122">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.4.2.5.1.2"><p id="mrs_02_0028__p05246991214">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.4.2.5.1.3"><p id="mrs_02_0028__p1052439131213">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.4.2.5.1.4"><p id="mrs_02_0028__p185246917129">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__row831433471010"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__a5cd6eaa41149421b8f15b6688ca0764a">master_node_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__a43c8e1c6659944108270bdbcf063d2ce">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p653869210328">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__ab2ae801eb5c8404ab5456c59376b0391">Number of Master nodes. If cluster HA is enabled, set this parameter to <strong id="mrs_02_0028__b132985221565">2</strong>. If cluster HA is disabled, set this parameter to <strong id="mrs_02_0028__b158471024165618">1</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row9403142121314"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__ae0999bf207a74347965bccebfe21ea90">master_node_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__a3dad4ca7b7794bc1b11e1c03fcb6609c">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p491146010328">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__ad01e9ad191694f6aa53b3afd86badcf4">Instance specifications of the Master node, for example, <strong id="mrs_02_0028__b1152212198306">c6.4xlarge.4linux.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_0028__row5630102115139"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__abe2bf31876ad4f4db597e02dfc065bdb">core_node_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__a435f76dfcc154f8aa0e7b300a72336bd">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__a7b70a00e082c42b2b38f161d92711da8">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__ae4f95d4370044afe845001e2973e694f">Number of Core nodes</p>
|
|
<p id="mrs_02_0028__abe34c5bef79040669b6ec20841f95737">Value range: 1 to 500</p>
|
|
<p id="mrs_02_0028__a3051b5639aad422fa5c90872e94086cd">A maximum of 500 Core nodes are supported by default. If more than 500 Core nodes are required, contact technical support.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row5809172117138"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__ae12fdb14cc0844f79f0820c90d74291a">core_node_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__afa6c2407288846a5943a7d12ea543d90">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__aa5272848817f4c65a9af69ac02779280">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__a702e3567369646a4a0851f7b1b2312d4">Instance specifications of the Core node, for example, <strong id="mrs_02_0028__b7690192453119">c6.4xlarge.4linux.mrs</strong>. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row15985182115134"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__ae44d1b265f134f71b6e61f1735d2c69f">master_data_volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__a5fd10cc3570a47ff88cee60405d48491">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__adb55e4760f5640ab902c6ac3d150dd6a">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__acc9bcc4411864783a083da1ed7f9ee17">This parameter is a multi-disk parameter, indicating the data disk storage type of the Master node. Currently, SATA, SAS and SSD are supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row89471759171611"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__aadd2460a64ca43639f4e4438ff7bf2f4">master_data_volume_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__aa3a7e247ed354f94b041802e60778266">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__affe454d2af9346738267d1f837a5c0e1">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__a5be89321ff3c4d969f8298e366696d99">This parameter is a multi-disk parameter, indicating the data disk storage space of the Master node. To increase data storage capacity, you can add disks at the same time when creating a cluster.</p>
|
|
<p id="mrs_02_0028__a6efed07980e5480b82a5eac9764441db">Value range: 100 GB to 32,000 GB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row182961309174"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__a981882a6502848dfb5ca8a68e3dcfaa5">master_data_volume_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__a128dd5f655374031a730ff57b11e356e">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__a275bbeb1cb7241f49ef5074df0fcd030">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__aa490089a63c94300b70d99031675ceae">This parameter is a multi-disk parameter, indicating the number of data disks of the Master node.</p>
|
|
<p id="mrs_02_0028__a78b76ca869b642498190fe852aeaca67">The value can be set to <strong id="mrs_02_0028__b842352706192224">1</strong> only.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row04015171716"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__ae0cf8fe1bd144503a47d53ef6ca14720">core_data_volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__ac0e6be63960a46ebacbe856ba2aedc48">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__a5ce5091c00714514964e01a370bc8402">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__ab066d4c910c549c5b7f69daf1cf18af9">This parameter is a multi-disk parameter, indicating the data disk storage type of the Core node. Currently, SATA, SAS and SSD are supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1178202221317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__a641156512ce444eb84a96496b5ac5742">core_data_volume_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__a2e5e546ee52e4b4d8538d4e8626be538">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__a7ab4e016bc384d058ddd4496186312d4">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__a2460f861704b49a582c4bedf042de284">This parameter is a multi-disk parameter, indicating the data disk storage space of the Core node. To increase data storage capacity, you can add disks at the same time when creating a cluster.</p>
|
|
<p id="mrs_02_0028__a288229dd4a46414a828a607fab69a959">Value range: 100 GB to 32,000 GB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row93653224138"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__a84ecd52b117a49bfbce623f486d95eea">core_data_volume_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__aa1a42c10290848a6a0bc398da74d7aee">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__aeb10a457f25b4b71b3e2e57eba6c4a2d">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__a6dbfd4d4fe3044e6b18adb8731039c9e">This parameter is a multi-disk parameter, indicating the number of data disks of the Core node.</p>
|
|
<p id="mrs_02_0028__a14ff995c15fa470b9a7fcb6b02c9ebf3">Value range: 1 to 10</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1552112291316"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__a70c9f5fa400e4489a3d73ed8e49adeda">volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__aa86988cb9a074de7bae2a0f9a10e4ce1">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p394768110328">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__p195029410529">Data disk storage type of the Master and Core nodes. Currently, SATA, SAS and SSD are supported. Disk parameters can be represented by <strong id="mrs_02_0028__b294412501536">volume_type</strong> and <strong id="mrs_02_0028__b1440153125416">volume_size</strong>, or multi-disk parameters. If the <strong id="mrs_02_0028__b0691233175413">volume_type</strong> and <strong id="mrs_02_0028__b9209123795419">volume_size</strong> parameters coexist with the multi-disk parameters, the system reads the <strong id="mrs_02_0028__b1240116273557">volume_type</strong> and <strong id="mrs_02_0028__b49589302555">volume_size</strong> parameters first. You are advised to use the multi-disk parameters.</p>
|
|
<ul id="mrs_02_0028__ua00ec6fb27414751bf2c5f846ca0612d"><li id="mrs_02_0028__lfbc03ce9b2c740429068d7456dd16296">SATA: Common I/O</li><li id="mrs_02_0028__lc1ef779ee475471fbce2f524b33551e2">SAS: High I/O</li><li id="mrs_02_0028__li51502912233">SSD: Ultra-high I/O</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row17191722151319"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__a01fb73e1669d4620ad2e5cc51234be13">volume_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__a5ee7cc2d2a064f6dab129749dba160c2">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__a4bde3a89be5f4d359132a0b0f3d0a796">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__afd5319373a664eb190d7a8bdc5494422">Data disk storage space of the Master and Core nodes. To increase data storage capacity, you can add disks at the same time when creating a cluster. Select a proper disk storage space based on the following application scenarios:</p>
|
|
<ul id="mrs_02_0028__u86560e592a8c444c9ca1267fc1f02d63"><li id="mrs_02_0028__l9da9d30d1ccd4fbfaf4fd9e4e4c5a470">Separation of data storage and computing: Data is stored in the OBS system. Costs of clusters are relatively low but computing performance is poor. The clusters can be deleted at any time. It is recommended when data computing is infrequently performed.</li><li id="mrs_02_0028__l8a38d7e8d8fc44129ea469e68923a1f3">Integration of data storage and computing: Data is stored in the HDFS system. Costs of clusters are relatively high but computing performance is good. The clusters cannot be deleted in a short term. It is recommended when data computing is frequently performed.</li></ul>
|
|
<p id="mrs_02_0028__a1a0e7f05917e4ff2b4f891278c99e9f1">Value range: 100 GB to 32,000 GB</p>
|
|
<p id="mrs_02_0028__a5438c4ee7b2e4f0bbcc8c0f36301a58b">This parameter is not recommended. For details, see the description of the <strong id="mrs_02_0028__b1529113016017">volume_type</strong> parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row153161834191015"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.1 "><p id="mrs_02_0028__ac0ed6b384a864d97bc857954b8a68bfa">task_node_groups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.2 "><p id="mrs_02_0028__en-us_topic_0110581924_p171245311115">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p449097931115">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.4.2.5.1.4 "><p id="mrs_02_0028__a41ca039424704ba6a3292f401709bf7d">List of Task nodes For more parameter description, see <a href="#mrs_02_0028__tc6bfa2a3d7a348d786a901f3a9327b50">Table 6</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__tc6bfa2a3d7a348d786a901f3a9327b50"></a><a name="tc6bfa2a3d7a348d786a901f3a9327b50"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__tc6bfa2a3d7a348d786a901f3a9327b50" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="mrs_02_0028__b842352706205712">task_node_groups</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__r1a37300bb46a41338e703224fc485c99"><th align="left" class="cellrowborder" valign="top" width="24.97%" id="mcps1.3.3.5.2.5.1.1"><p id="mrs_02_0028__a6eaa1791f3904b7dbe56de95fd33cd70"><strong id="mrs_02_0028__b1531011183425">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.040000000000001%" id="mcps1.3.3.5.2.5.1.2"><p id="mrs_02_0028__ad9ae88673d734fbeb3d848c8f4bd5ad3">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.09%" id="mcps1.3.3.5.2.5.1.3"><p id="mrs_02_0028__a48532de540ed4ca3b8c7b46d4f6b5fb5">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.9%" id="mcps1.3.3.5.2.5.1.4"><p id="mrs_02_0028__ade86233d865a4011b59fdf9de047c522">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__r6fdb29bbcaef43ecbe866941289f39ed"><td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.1 "><p id="mrs_02_0028__a44eefa8cae2e4c7e83ee9809363e5702">node_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.3.5.2.5.1.2 "><p id="mrs_02_0028__a9c724acc63d6415b90b1dfae03fe71fc">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.09%" headers="mcps1.3.3.5.2.5.1.3 "><p id="mrs_02_0028__a020e74a5c3504133955c016ab7a42668">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.5.2.5.1.4 "><p id="mrs_02_0028__ab7629c14cf834c4a8b9c353eacff507a">Number of Task nodes. The value ranges from 0 to 500 and the total number of Core and Task nodes cannot exceed 500.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r47f8c9c293bb48d7918b5827b88c7db5"><td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p425651111412">node_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.3.5.2.5.1.2 "><p id="mrs_02_0028__en-us_topic_0110581924_p423278111181">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.09%" headers="mcps1.3.3.5.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p60006581181">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.5.2.5.1.4 "><p id="mrs_02_0028__a44ae0aab454b4af299ddbbfeec3018b7">Instance specifications of the Task node, for example, <strong id="mrs_02_0028__b182441003157">c6.4xlarge.4linux.mrs</strong>. 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_0028__rae832cc846e8455498d506478a4fc5b8"><td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.1 "><p id="mrs_02_0028__a0495e244c9a54419aa24d4b47e20aae3">data_volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.3.5.2.5.1.2 "><p id="mrs_02_0028__af89499eb58014567969353a8c7d304f8">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.09%" headers="mcps1.3.3.5.2.5.1.3 "><p id="mrs_02_0028__a5b28b65b252c4bfc8d4e0571ca2289fa">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.5.2.5.1.4 "><p id="mrs_02_0028__a183a26e0f49d4151bf35f7ebd5a150c1">Data disk storage type of the Task node, supporting SATA, SAS, and SSD currently</p>
|
|
<ul id="mrs_02_0028__ud8f7e3414f904a0682bbf04c3c29150a"><li id="mrs_02_0028__ledaee493cf7148dba4c5ccb87fd30443">SATA: Common I/O</li><li id="mrs_02_0028__l9ac54f7b797f47c18609cbcf91e047f5">SAS: High I/O</li><li id="mrs_02_0028__lbbd3d2d96adc4e3cab2d0fa2f2ede3a2">SSD: Ultra-high I/O</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r89c6b58511de4f68ba1ddb80c8e80201"><td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.1 "><p id="mrs_02_0028__ace81aa8fb01d4c1a8aa672a332025746">data_volume_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.3.5.2.5.1.2 "><p id="mrs_02_0028__a67bedd11a0d243a0a2948a55a302e7f4">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.09%" headers="mcps1.3.3.5.2.5.1.3 "><p id="mrs_02_0028__a8329a17977054c39948ba9ca80004a49">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.5.2.5.1.4 "><p id="mrs_02_0028__a6a790166ce0045558e8213954d7f8dc3">Number of data disks of a Task node</p>
|
|
<p id="mrs_02_0028__ac4db83a0e8814cfd82a6a511a6a59c7b">Value range: 0 to 10</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r6c2cb46c21f34dc0ab0f420c9e95bbbb"><td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.1 "><p id="mrs_02_0028__af87d1b3fd56b48f798774318741daa6e">data_volume_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.3.5.2.5.1.2 "><p id="mrs_02_0028__a929916ba39fb4dd7af6990d64f1c829d">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.09%" headers="mcps1.3.3.5.2.5.1.3 "><p id="mrs_02_0028__a05ab66104ab84ffd888576762664ae99">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.5.2.5.1.4 "><p id="mrs_02_0028__a558efee3b7f647a2a0675c0778bd7f8e">Data disk storage space of a Task node</p>
|
|
<p id="mrs_02_0028__a021924d1b294426395ea4936c5df0db8">Value range: 100 GB to 32,000 GB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r50ca495e02254299996f171943f2b352"><td class="cellrowborder" valign="top" width="24.97%" headers="mcps1.3.3.5.2.5.1.1 "><p id="mrs_02_0028__af4b059bb961e40b39e7ba868228df78b">auto_scaling_policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.040000000000001%" headers="mcps1.3.3.5.2.5.1.2 "><p id="mrs_02_0028__a16abcedd8b6b4725a47c49b54fb20cb2">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.09%" headers="mcps1.3.3.5.2.5.1.3 "><p id="mrs_02_0028__a6d7594c328f043049239c2ef0a6ffbc1">AutoScalingPolicy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.5.2.5.1.4 "><p id="mrs_02_0028__a843f55e3857048b3822853a8d5c86cf6">Auto scaling policy. For details, see <a href="#mrs_02_0028__t6d6054a35d6342dc9dc5b3b8580fec7c">Table 9</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__te1288dba79844d3fa5973939a3739d34"></a><a name="te1288dba79844d3fa5973939a3739d34"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__te1288dba79844d3fa5973939a3739d34" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong id="mrs_02_0028__b57064254455">component_list</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__r50261cf675f5482893037618d7f2fca2"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.6.2.5.1.1"><p id="mrs_02_0028__aae2b73a196294c08bf748f7fcbd0d09e"><strong id="mrs_02_0028__b3794184112451">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.6.2.5.1.2"><p id="mrs_02_0028__a27798ab6d8fb4940b410e17062ab0e73">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_0028__a86a363a84be649de92a4e67c3a3c813d">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_0028__a53ef033dd69e4761b0f237689df0fb13">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__r9fc416ea11cb4e5286c2a9386af0d21e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.6.2.5.1.1 "><p id="mrs_02_0028__a1da866fe310f4b24bef24d54814ab6d4">component_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.6.2.5.1.2 "><p id="mrs_02_0028__a22f706e02b144172b68c84984c2619ff">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.6.2.5.1.3 "><p id="mrs_02_0028__a66088909406747b0a005daab84c645ff">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.6.2.5.1.4 "><p id="mrs_02_0028__ae726ee1933c7444082ca0a0f18d3a463">Component name</p>
|
|
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__t8ded0b3ae11742cea98a467ce26fd093"></a><a name="t8ded0b3ae11742cea98a467ce26fd093"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t8ded0b3ae11742cea98a467ce26fd093" frame="border" border="1" rules="all"><caption><b>Table 8 </b><strong id="mrs_02_0028__b101171051185014">add_jobs</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__r1406471483f44e598e5093114179e024"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.7.2.5.1.1"><p id="mrs_02_0028__a11b4047a0dff4f028e4039ab650d8b53"><strong id="mrs_02_0028__b689670115117">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.7.2.5.1.2"><p id="mrs_02_0028__a2c3cfcf9d8214be9aa459fb5556232d8">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_0028__a95ee1f9181e0433fa8e16c8796a9432f">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_0028__a067577438c5947b888a4e71fcaaea88c">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__r5f2c4162393343e1ba734ba5391b97ef"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__a869331fce762494390ec8dc5e4a0ba82">job_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__ae231a7fd6f8543c0b9fa1f5c541016cf">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a6fdcaa9f137e4975a1c031c7f9e90c9f">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__en-us_topic_0110581924_p336024810328">Job type code</p>
|
|
<ul id="mrs_02_0028__u1bbe8e3884694971a9802247a68566f7"><li id="mrs_02_0028__lb310966a10a24733861a42375e673cad">1: MapReduce</li><li id="mrs_02_0028__ld4bb6d15ff7d45a3bae9b665e83233fe">2: Spark</li><li id="mrs_02_0028__ldf98e17be2f149a78dff3ae15d87432d">3: Hive Script</li><li id="mrs_02_0028__l45875da98f844cb88704a5c96175f85c">4: HiveQL (not supported currently)</li><li id="mrs_02_0028__la32fd2f0554e40098c58efa240cddfa0">5: DistCp, importing and exporting data (not supported currently)</li><li id="mrs_02_0028__l93c857eec7944c02b9679139c79e99f7">6: Spark Script</li><li id="mrs_02_0028__l8f2edbe05d344c63b457b1646b944681">7: Spark SQL, submitting Spark SQL statements (not supported currently).<div class="note" id="mrs_02_0028__n0a1813ff8eb84d79a4b2f13af6d5a8a7"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_02_0028__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_0028__ra545977a99554f39be9d31a370f955f6"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p364797810328">job_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__ae9ec2aa05bc546b59f93bfebadb7cb2d">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__aedf5aa2a6956470f9c5513a81aadce02">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__a03bb9947168d4aa48229842da6245f3f">Job name. It contains 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
|
<div class="note" id="mrs_02_0028__neab0e91a89844387a6d28e3383b1a591"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_02_0028__a824e620530bd493bafaa3eec44e70778">Identical job names are allowed but not recommended.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__ra1cb5f7d11664ec2b090c4bc92028564"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__aae5cb8363c8d4ec696600e7394dcf09c">jar_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__en-us_topic_0110581924_p287569010328">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a24ef09ee03894d78a2c14fb60ef8a608">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__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_0028__ue3629268b08343339d7421380a9d1653"><li id="mrs_02_0028__lc266cc7b2aee4c96a9886ac1bf19615f">Contains a maximum of 1,023 characters, excluding special characters such as ;|&><'$. The parameter value cannot be empty or full of spaces.</li><li id="mrs_02_0028__l8c1b51dadafe4b92aef5a232f33176c8">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0028__en-us_topic_0110581924_ul56833471484"><li id="mrs_02_0028__l311946a0ccd24a7b90abb508f4eb9f4e">OBS: The path must start with <span class="parmvalue" id="mrs_02_0028__p7addae73a6d04a3a8c9d93972ed6039d"><b>s3a://</b></span>. Files or programs encrypted by KMS are not supported.</li><li id="mrs_02_0028__en-us_topic_0110581924_li18114107493">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0028__pee15970daa044de1af6e19920c2672f4"><b>/</b></span>).</li></ul>
|
|
</li><li id="mrs_02_0028__l77a53fbd159d47bca54e5bbd1859f937">Spark Script must end with <span class="parmvalue" id="mrs_02_0028__p3f1c52d30e994432aa417b0b16e8191c"><b>.sql</b></span> while MapReduce and Spark Jar must end with <span class="parmvalue" id="mrs_02_0028__pd88ebb6bea614a6098ff4c46567c4c0f"><b>.jar</b></span>. <span class="parmvalue" id="mrs_02_0028__parmvalue10319175814292"><b>sql</b></span> and <span class="parmvalue" id="mrs_02_0028__parmvalue1128641253013"><b>jar</b></span> are case-insensitive.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r082bccdc7c1b41c08a362fe9b2f23e57"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__a4d4f374e54b64a1984e759a3b582cae6">arguments</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__a7a8ba8615e6140be94c7df4a296f5d1e">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a8b482a914e9b48d9a5e09baa2ea33018">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__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_0028__af260bc2d789a4ffd9a801b2c388937d6">The parameter contains a maximum of 2,047 characters, excluding special characters such as ;|&>'<$, and can be left blank.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r5f76a1c980b945b6b9be2112c853032a"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__a240ef0ea4fa14fd8b4ff5ef66cc651cd">input</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__a87f3a222d7404447a6b2f856cc1d6b8f">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p644882010328">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__ae66710c5e07e45e4b7fad4d8994760c3">Address for inputting data.</p>
|
|
<div class="p" id="mrs_02_0028__ae71baaff5e234d8d8f871af7142086c7">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0028__u053b159914fc4cdb9238d81925d0ad3c"><li id="mrs_02_0028__l3c4df3b7bff243d691b400edfa8d1abf">OBS: The path must start with <span class="parmvalue" id="mrs_02_0028__parmvalue47194518336"><b>s3a://</b></span>. Files or programs encrypted by KMS are not supported.</li><li id="mrs_02_0028__en-us_topic_0110581924_li14402145654">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0028__parmvalue64431648153315"><b>/</b></span>).</li></ul>
|
|
</div>
|
|
<p id="mrs_02_0028__aa83c637c498e4208a3c21310dcfeac38">The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&>'<$, and can be left blank.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r19caa026be7644ec89853f511ff24e57"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__aa7416d43efd149b1aaae01e2393dfd71">output</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__a4467222d621049c2a7dd6d69c153dc57">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a1ec06fa96d674b538557ba325057b2ca">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__a68624f7985ca4999a15ed56e5ba239a5">Address for outputting data.</p>
|
|
<div class="p" id="mrs_02_0028__aff5a969c034940bc8f5595975c93727d">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0028__u567ba92ca6ce4526a8fbe7559d415c73"><li id="mrs_02_0028__l28b77a83e16e4f259f61121c63933a5e">OBS: The path must start with <span class="parmvalue" id="mrs_02_0028__parmvalue12220717153416"><b>s3a://</b></span>.</li><li id="mrs_02_0028__lce3927378d494881b077fb4d1c1d7d97">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0028__parmvalue11408191820343"><b>/</b></span>).</li></ul>
|
|
</div>
|
|
<p id="mrs_02_0028__a1ea20927905f4d98ab025e6c139a6e49">If the specified path does not exist, the system will automatically create it.</p>
|
|
<p id="mrs_02_0028__a33780072c5ca4afb805b553183081a0a">The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&>'<$, and can be left blank.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rcebde39651a34a3ebc0e383b3ea0609e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__afba4723d32e64349a2fd483d3aec7f8e">job_log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__abf09aba3956248b0bcad4eaf18c1ffe3">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a786558e005ef4409998180f06d9e8854">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__en-us_topic_0110581924_p34006410328">Path for storing job logs that record job running status.</p>
|
|
<div class="p" id="mrs_02_0028__a197b22cd360f41029e4986c7631e13e9">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0028__u59cddc2a224b4316addc8c265b5d4e7a"><li id="mrs_02_0028__l1e9e01a445bf4fc4aa0d0de037478435">OBS: The path must start with <span class="parmvalue" id="mrs_02_0028__parmvalue1855113063611"><b>s3a://</b></span>.</li><li id="mrs_02_0028__l31e228f6467b48d2bb1acc44927e8c8a">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0028__parmvalue1992183133620"><b>/</b></span>).</li></ul>
|
|
</div>
|
|
<p id="mrs_02_0028__a57d5612e81ab4daa9fcba35202cc2ac6">The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&>'<$, and can be left blank.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r71b3a4b056fa4a6693ee1ccbf01354e3"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__a6180a48948304eebafb48522459c400f">shutdown_cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__en-us_topic_0110581924_p78350310328">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a24e8cde5f6804c39bb85af587a53ac88">Bool</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__a24011056348d4e08bf19f8cf13770fd5">Whether to delete the cluster after the job execution is complete</p>
|
|
<ul id="mrs_02_0028__u283ed191b20545218c2495ce20019235"><li id="mrs_02_0028__l32bd0f42184e496faf957d7bf8da8c7b"><strong id="mrs_02_0028__b2497195641514">true</strong>: Yes</li><li id="mrs_02_0028__l63efdcde9d5847559618b60012d15c57"><strong id="mrs_02_0028__b1541915011164">false</strong>: No</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r38c9b7d97d1843818d8257e369625b5e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__a211ab5a8d91a4e179e47355dbb7154e9">file_action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__a4daebfd86bbd407788ddd47e28aaa3ab">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a2f6ecf2eae4143edb7a98c02ad86e627">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__a6337ab64727c4932a880bbd30cee64c6">Data import and export</p>
|
|
<ul id="mrs_02_0028__ubd8933d2af864220afae2e8a2fe1f8db"><li id="mrs_02_0028__l1d8b266f437544309ff51e56a6c5e3f8"><strong id="mrs_02_0028__b153568129611">import</strong></li><li id="mrs_02_0028__lec8ebc61620e45818dcdb983e6b6b9ab"><strong id="mrs_02_0028__b1016418241467">export</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r3c17d75523474f6db92ef448256836f0"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__a1efac31efc0848f4b563366ce3605f32">submit_job_once_cluster_run</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__a17d13126934042558ea30306f971ec9c">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a39048ed76bbe4a93abedc722a7bd9c1f">Bool</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><ul id="mrs_02_0028__u252aadfb54da4baaa43f5c40ec014fc0"><li id="mrs_02_0028__lc20f9cd9c48e41df94581ad77c249740"><strong id="mrs_02_0028__b1762449101619">true</strong>: Submit a job during cluster creation.</li><li id="mrs_02_0028__lbe2fe7bcebb942cfb64aec76dd6be326"><strong id="mrs_02_0028__b15176313161614">false</strong>: Submit a job after the cluster is created.</li></ul>
|
|
<p id="mrs_02_0028__en-us_topic_0110581924_p461478810328">Set this parameter to <strong id="mrs_02_0028__b84235270695121">true</strong> in this example.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r1bd160512f794dc1b8a5e74830dd8a77"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__en-us_topic_0110581924_p873773110328">hql</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__a39913072b23344fdb036976d9691218f">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a46d625ddf92f47db9e977423ea813e93">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__ac34bbce1af534068b6f90c07b819940e">HiveQL statement</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rfd31d8bc4ed144509d335fbaa00187ad"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.7.2.5.1.1 "><p id="mrs_02_0028__ae4877c908b65427f8e6b13547916aaa9">hive_script_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.2 "><p id="mrs_02_0028__ad5e9d85fc0eb467c851e6a1caada5571">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.7.2.5.1.3 "><p id="mrs_02_0028__a154c57b5b1b647da9292441acf1e672a">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.7.2.5.1.4 "><p id="mrs_02_0028__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_0028__u9852e5488841460c9a61db547eec1126"><li id="mrs_02_0028__lc405a91b942a4a4aa33e4b0b6e31d9c5">Contains a maximum of 1,023 characters, excluding special characters such as ;|&><'$. The parameter value cannot be empty or full of spaces.</li><li id="mrs_02_0028__l4280ef93a66f4c1a8257a4d42eb9beb3">Files can be stored in HDFS or OBS. The path varies depending on the file system.<ul id="mrs_02_0028__u057d8e72682642968fa26aff11564901"><li id="mrs_02_0028__le0baae3b52a04dc19d83afa95a769925">OBS: The path must start with <span class="parmvalue" id="mrs_02_0028__parmvalue8998418471"><b>s3a://</b></span>. Files or programs encrypted by KMS are not supported.</li><li id="mrs_02_0028__l33e1fbb9f355453f9f2c90669d5ebc4e">HDFS: The path starts with a slash (<span class="parmvalue" id="mrs_02_0028__parmvalue08242411474"><b>/</b></span>).</li></ul>
|
|
</li><li id="mrs_02_0028__l8f4543f8c48145de845fff2e1b5aec49">Ends with <span class="parmvalue" id="mrs_02_0028__ped754121c03f48188a0dc13d9fe665ae"><b>.sql</b></span>. <strong id="mrs_02_0028__b131626419487">sql</strong> is case-insensitive.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__t6d6054a35d6342dc9dc5b3b8580fec7c"></a><a name="t6d6054a35d6342dc9dc5b3b8580fec7c"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t6d6054a35d6342dc9dc5b3b8580fec7c" frame="border" border="1" rules="all"><caption><b>Table 9 </b><strong id="mrs_02_0028__b1336265516483">auto_scaling_policy</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__raf51026a1f504a8788e1403658120f2f"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.8.2.5.1.1"><p id="mrs_02_0028__a6b57643863a6437a8c107916b9c7695d"><strong id="mrs_02_0028__b1784095713486">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.8.2.5.1.2"><p id="mrs_02_0028__a3fff5ea955e54459addfcbbb35b643ec">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_0028__aa1457e2336bd448ea6d9616e20227777">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_0028__a5321d724cd884c23b9ae748f98ba4424">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__ra90fcd7439104b2c98d8b7081bfdef71"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0028__a8e70a35d4222449cb92a4041ef7f0137">auto_scaling_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0028__ae90c66ff525b4f18b199fba818fcc23e">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0028__a2c10267f0ea74faba0b9fb771d478e67">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0028__a8b16bd6c0885436e8051b80f0aea7c8d">Whether to enable the auto scaling rule.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r1fe6b7d60f7345d3b8d1c1d8cb8806bd"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0028__a379d490f2095437fad3072496b931b39">min_capacity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0028__a67bf7a6b811a47d1accfd408095436fb">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p230787112654">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0028__a6339dac619fd4e838c5285c78f3162f9">Minimum number of nodes left in the node group.</p>
|
|
<p id="mrs_02_0028__ac2a776ad7e134fadb625996c4d1d83d6">Value range: 0 to 500</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r8b569e44ff74496d9a7eb20ac8a742e4"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0028__a7eaed7f858d7454b8c65783319c39b04">max_capacity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0028__a67bf8fb9a84542bd8757eeb97a31418f">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0028__a3ecf064ee466445781aeb1a335395cba">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0028__a27bf42b5a44f47378f54aad66fef804f">Maximum number of nodes in the node group.</p>
|
|
<p id="mrs_02_0028__a480eee70830e4129964adad7def22b88">Value range: 0 to 500</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row109862440157"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0028__p99881444155">resources_plans</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0028__p1998854481510">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0028__p59886442157">List</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0028__p189881644171514">Resource plan list. For details, see <a href="#mrs_02_0028__table10281451162111">Table 10</a>. If this parameter is left blank, the resource plan is disabled.</p>
|
|
<p id="mrs_02_0028__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_0028__row36011313174"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0028__p337232320178">exec_scripts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0028__p337220231170">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0028__p11372152341713">List</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0028__p93729233178">List of custom scaling automation scripts. For details, see <a href="#mrs_02_0028__table1921110172216">Table 11</a>. If this parameter is left blank, a hook script is disabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r4755a3babff849968d83bd43129dc7eb"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.8.2.5.1.1 "><p id="mrs_02_0028__a308e43c85e40439b8c59d08440843dc6">rules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.2 "><p id="mrs_02_0028__a98d5257b9540482989b03783ec10a561">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.8.2.5.1.3 "><p id="mrs_02_0028__ae314628f2d8a4766924313079bbabe68">List</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.8.2.5.1.4 "><p id="mrs_02_0028__ac2e02b36ba1e434fb0df7479bd8acd50">List of auto scaling rules. For details, see <a href="#mrs_02_0028__t4c9e3e169631470d81d260543affb7e1">Table 12</a>.</p>
|
|
<p id="mrs_02_0028__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_0028__table10281451162111"></a><a name="table10281451162111"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__table10281451162111" frame="border" border="1" rules="all"><caption><b>Table 10 </b><strong id="mrs_02_0028__b29145211237">resources_plan</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__row21077515215"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.9.2.5.1.1"><p id="mrs_02_0028__p11361051162118"><strong id="mrs_02_0028__b7261143718239">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.9.2.5.1.2"><p id="mrs_02_0028__p1815835115218">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_0028__p2018015511218">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_0028__p5198351122117">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__row1121555192110"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0028__p18632144118282">period_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0028__p4632164118286">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0028__p166321418282">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0028__p963214419289">Cycle type of a resource plan. Currently, only the following cycle type is supported:</p>
|
|
<ul id="mrs_02_0028__ul363284116288"><li id="mrs_02_0028__li19632041182813"><strong id="mrs_02_0028__b1429315401761">daily</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1531855116213"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0028__p11633174182818">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0028__p196331041132814">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0028__p19633114122816">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0028__p13633154112816">Start time of a resource plan. The value is in the format of <strong id="mrs_02_0028__b972495515249">hour:minute</strong>, indicating that the time ranges from 0:00 to 23:59.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row7405105118211"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0028__p126333415281">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0028__p2063344114284">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0028__p863364112819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0028__p2633174117282">End time of a resource plan. The value is in the same format as that of <span class="parmname" id="mrs_02_0028__parmname108341828162917"><b>start_time</b></span>. The interval between <strong id="mrs_02_0028__b1917973215256">end_time</strong> and <strong id="mrs_02_0028__b149161137152511">start_time</strong> must be greater than or equal to 30 minutes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row19532851132116"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0028__p206334415288">min_capacity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0028__p2633184112285">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0028__p116331241202817">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0028__p6633141102810">Minimum number of the preserved nodes in a node group in a resource plan.</p>
|
|
<p id="mrs_02_0028__p3629135317296">Value range: 0 to 500</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row176245516217"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.9.2.5.1.1 "><p id="mrs_02_0028__p263304119287">max_capacity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.2 "><p id="mrs_02_0028__p146331041172818">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.9.2.5.1.3 "><p id="mrs_02_0028__p156331241162818">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.9.2.5.1.4 "><p id="mrs_02_0028__p19633174118288">Maximum number of the preserved nodes in a node group in a resource plan.</p>
|
|
<p id="mrs_02_0028__p16373013020">Value range: 0 to 500</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__table1921110172216"></a><a name="table1921110172216"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__table1921110172216" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="mrs_02_0028__b33693182267">exec_script</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__row1428214111224"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.10.2.5.1.1"><p id="mrs_02_0028__p15297171172210"><strong id="mrs_02_0028__b14579436112615">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.10.2.5.1.2"><p id="mrs_02_0028__p8318816229">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_0028__p19332191122219">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_0028__p934614122220">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__row16364151162210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0028__p2716626113010">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0028__p9716122653011">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0028__p12716172613308">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0028__p1271632643011">Name of a custom automation script. It must be unique in a same cluster.</p>
|
|
<p id="mrs_02_0028__p971662623010">The value can contain only digits, letters, spaces, hyphens (-), and underscores (_) and cannot start with a space.</p>
|
|
<p id="mrs_02_0028__p2716192613010">The value can contain 1 to 64 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1446317117222"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0028__p1671632619307">uri</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0028__p771612265306">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0028__p37169268302">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0028__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_0028__ul2716122616303"><li id="mrs_02_0028__li1771652616302">OBS bucket path: Enter a script path manually, for example, <strong id="mrs_02_0028__b0322910101">s3a://</strong><em id="mrs_02_0028__i449293102">XXX</em><strong id="mrs_02_0028__b1645290107">/scale.sh</strong>.</li><li id="mrs_02_0028__li13305023118">Local VM path: Enter a script path. The script path must start with a slash (/) and end with <strong id="mrs_02_0028__b2635103117309">.sh</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row25607102210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0028__p361414413374">parameters</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0028__p361484123715">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0028__p146149414371">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0028__p8614746374">Parameters of a custom automation script.</p>
|
|
<ul id="mrs_02_0028__ul19405172713813"><li id="mrs_02_0028__li54051027163819">Multiple parameters are separated by space.</li><li id="mrs_02_0028__li5405112723817">The following predefined system parameters can be transferred:<ul id="mrs_02_0028__ul740512275389"><li id="mrs_02_0028__li1540522716388"><em id="mrs_02_0028__i1775514120161">${mrs_scale_node_num}</em>: Number of the nodes to be added or removed</li><li id="mrs_02_0028__li13405192712388"><em id="mrs_02_0028__i11570546161617">${mrs_scale_type}</em>: Scaling type. The value can be <strong id="mrs_02_0028__b209806114324">scale_out</strong> or <strong id="mrs_02_0028__b16355132010329">scale_in</strong>.</li><li id="mrs_02_0028__li2405142719388"><em id="mrs_02_0028__i185932506163">${mrs_scale_node_hostnames}</em>: Host names of the nodes to be added or removed</li><li id="mrs_02_0028__li104051427173812"><em id="mrs_02_0028__i1173835416165">${mrs_scale_node_ips}</em>: IP addresses of the nodes to be added or removed</li><li id="mrs_02_0028__li240519271388"><em id="mrs_02_0028__i2343185981616">${mrs_scale_rule_name}</em>: Name of the rule that triggers auto scaling</li></ul>
|
|
</li><li id="mrs_02_0028__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_0028__row870514172210"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0028__p106161244377">nodes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0028__p661616418371">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0028__p14616244375">List<String></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0028__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_0028__row67891315228"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0028__p1733982111374">active_master</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0028__p153391921173710">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0028__p4339142163715">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0028__p833952163716">Whether the custom automation script runs only on the active Master node.</p>
|
|
<p id="mrs_02_0028__p13391218375">The default value is <strong id="mrs_02_0028__b98671943018">false</strong>, indicating that the custom automation script can run on all Master nodes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row3891131122219"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0028__p195951338133710">action_stage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0028__p1759563815377">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0028__p195951038123720">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0028__p5595438133717">Time when a script is executed.</p>
|
|
<p id="mrs_02_0028__p175951038193717">The following four options are supported:</p>
|
|
<ul id="mrs_02_0028__ul959511385379"><li id="mrs_02_0028__li1159543863710"><strong id="mrs_02_0028__b1797820530815">before_scale_out</strong>: before scale-out</li><li id="mrs_02_0028__li175952388373"><strong id="mrs_02_0028__b695615717811">before_scale_in</strong>: before scale-in</li><li id="mrs_02_0028__li1159513873719"><strong id="mrs_02_0028__b53821541396">after_scale_out</strong>: after scale-out</li><li id="mrs_02_0028__li13595183823719"><strong id="mrs_02_0028__b10866167091">after_scale_in</strong>: after scale-in</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row173493683712"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.10.2.5.1.1 "><p id="mrs_02_0028__p1595838193720">fail_action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.2 "><p id="mrs_02_0028__p1595138123712">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.10.2.5.1.3 "><p id="mrs_02_0028__p159611387376">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.10.2.5.1.4 "><p id="mrs_02_0028__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_0028__ul1859673813372"><li id="mrs_02_0028__li5596183873720"><strong id="mrs_02_0028__b59971031880">continue</strong>: Continue to execute subsequent scripts.</li><li id="mrs_02_0028__li1596153883712"><strong id="mrs_02_0028__b148529362082">errorout</strong>: Stop the action.<div class="note" id="mrs_02_0028__note1637813387373"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="mrs_02_0028__ul117517425369"><li id="mrs_02_0028__li5751204215360">You are advised to set this parameter to <strong id="mrs_02_0028__b842352706114220">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_0028__li10592144173612">The scale-in operation cannot be undone. Therefore, <span class="parmname" id="mrs_02_0028__parmname47251253810"><b>fail_action</b></span> must be set to <span class="parmvalue" id="mrs_02_0028__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_0028__t4c9e3e169631470d81d260543affb7e1"></a><a name="t4c9e3e169631470d81d260543affb7e1"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t4c9e3e169631470d81d260543affb7e1" frame="border" border="1" rules="all"><caption><b>Table 12 </b><strong id="mrs_02_0028__b848013548820">rules</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__r04dab5da98994243b13ab537426a3a97"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.11.2.5.1.1"><p id="mrs_02_0028__ad679ccb275b24cc496175d3841c71d4a"><strong id="mrs_02_0028__b136101356781">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.11.2.5.1.2"><p id="mrs_02_0028__a640760dee401468b9b46729570e2c885">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_0028__acb08948a5f1440c3b9925d7b25fd1cfc">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_0028__ae3354bfaa9f549358e263c7ff419fb0b">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__rb70a6fabcd634bb488830fad4df3ec23"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0028__a30a512ec6a824430b85d412a03a87f01">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0028__a9821fa2ef3a545c6918722356913f19d">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0028__a79be49bbaf734f838a223ef00e505777">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0028__aba48112f6b6643379185e9024b158818">Name of an auto scaling rule.</p>
|
|
<p id="mrs_02_0028__ad2dfd75a61e449daba07a8aec95b70af">It contains only 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
|
<p id="mrs_02_0028__a4fb8ccd95fd84f4e9167a742ea119278">Rule names must be unique in a node group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r43e582bae8d7452ba656dde618f5200c"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0028__a4db367e43bb943eeb5a845fa7b3209a6">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0028__aa3ce5a5274894b5c8ff040dbda4d893a">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0028__a5229ef45bcb04550a546ed9ef4541966">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0028__a54e73e7a5fe84ea68e0c68c676c69078">Description about an auto scaling rule.</p>
|
|
<p id="mrs_02_0028__a3913d07fc617486c800f3e34ebc28224">It contains a maximum of 1,024 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r63d765b129664dad957626f380819572"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0028__a44f544e08b0a41de95dabf9bf4e1434a">adjustment_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0028__aeef54466240a420aa0b5613dbb65143d">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0028__a433b89c3fb244d7e954a41597d978cf8">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0028__afb3bb8888f944246b9b844cf271c4ab2">Auto scaling rule adjustment type. The options are as follows:</p>
|
|
<ul id="mrs_02_0028__u18ec9abfa0234393b376df8ff616d19b"><li id="mrs_02_0028__l81d5baf4a2a44b92856c44501da9d358"><strong id="mrs_02_0028__b183151315782">scale_out</strong>: cluster scale-out</li><li id="mrs_02_0028__ld8f628f40c1040e98a2184d5bc217035"><strong id="mrs_02_0028__b658210174816">scale_in</strong>: cluster scale-in</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r6f9ebcd76459417a908a73ec838efe7c"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0028__a8f20410dbaee433abb560ec4458140af">cool_down_minutes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0028__ace0d1386b05a420fad2f53bd4dbd7f4f">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0028__a125498882f804fa99362663be962a9ec">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0028__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_0028__a934200a982984f90a54b157715b28542">Value range: 0 to 10,080. One week is equal to 10,080 minutes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r83dc95f88c514f349fe399e2daec1acf"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0028__a1bf156eb290c4eacac485c8e69bb9b8a">scaling_adjustment</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0028__ac34a827ef47d41c19cb0a362521c1749">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0028__a8ed38e14158144d1a1feee5d0c6672f9">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0028__acf6914ca275e493ba883ebb8a607a1ad">Number of nodes that can be adjusted once.</p>
|
|
<p id="mrs_02_0028__a665de6492d5f41e183c5fdfa2a65629a">Value range: 1 to 100</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r66369f0421994b56a9ed58368cc08d5a"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.11.2.5.1.1 "><p id="mrs_02_0028__a5817b59eda8846d1ae9d530bd1ab342d">trigger</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.2 "><p id="mrs_02_0028__aee6e5978de8143a7bfdc40db6e9304b2">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.11.2.5.1.3 "><p id="mrs_02_0028__afd9beb4a2ace493390bc25ced1fecf8d">Trigger</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.11.2.5.1.4 "><p id="mrs_02_0028__a2c60fdaa8e8b434d91a9aaf1e369eff6">Condition for triggering a rule. For details, see <a href="#mrs_02_0028__t03bd10dc0ec94a3babc71b2d5d57c3fe">Table 13</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__t03bd10dc0ec94a3babc71b2d5d57c3fe"></a><a name="t03bd10dc0ec94a3babc71b2d5d57c3fe"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t03bd10dc0ec94a3babc71b2d5d57c3fe" frame="border" border="1" rules="all"><caption><b>Table 13 </b><strong id="mrs_02_0028__b168115922212">trigger</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__rff8c363cdf464eb5a3a11207ffdf1cd8"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.12.2.5.1.1"><p id="mrs_02_0028__af7ff5d0628724b4fa7b5cf884ea1b773"><strong id="mrs_02_0028__b476928132219">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.12.2.5.1.2"><p id="mrs_02_0028__a56f9bf71c2fc47b5a8e8e7c679965679">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_0028__a8933d7f27ddb4c9798f80813eb864963">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_0028__a1f9301595b084bb0a1226a00ef63cf3a">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__re14becd52b854699886dab346ddbbca9"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0028__ad3f42958ab364805946248b8a97a5681">metric_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0028__a5e62e69cca49432484b604bd6c10da4f">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0028__af5d60c6023c64eb3af69213451e45a08">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0028__a67c5bbe2340144a0ac4ae630da919fdb">Metric name.</p>
|
|
<p id="mrs_02_0028__ad6898742fd8c4b3d90f62a110092174a">This triggering condition makes a judgment according to the value of the metric.</p>
|
|
<p id="mrs_02_0028__adb15d44ef9cd49719e1558f955af8fe0">A metric name contains a maximum of 64 characters.</p>
|
|
<p id="mrs_02_0028__a249e5e0f422a474eb818f01e56c3c6e2"><a href="#mrs_02_0028__t27de3279a99a48968dacb015c498d9cb">Table 14</a> lists the supported metric names.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rdf8d159ee61f4397920756d6db18f225"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0028__aaefe5f406be947a9bc590420af9fa60a">metric_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0028__ad6ce5627219640d1a928ec145a5c9543">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0028__ae5eed36b433c4a778931e35c51c255c0">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0028__af6f48d7468d64a0394a3a4213d2a2268">Metric threshold to trigger a rule</p>
|
|
<p id="mrs_02_0028__a9cb6280b4c514776b95dd786fe3b71b9">The parameter value must be an integer or number with two decimal places only. <a href="#mrs_02_0028__t27de3279a99a48968dacb015c498d9cb">Table 14</a> provides value types and ranges corresponding to <strong id="mrs_02_0028__b1161104445418">metric_name</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__re4671e894e4448eb87e9d7ff852aecb5"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0028__af47cf271b63941ac96944f24e87910b2">comparison_operator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0028__ab55411f4b2a54e7195864b2dc799f3bb">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0028__a933e80262e8c483dbfbf38aa2ec35333">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0028__adf4bb9d515db4212bee56e7a4389a892">Metric judgment logic operator. The options are as follows:</p>
|
|
<ul id="mrs_02_0028__u7169b3049e9342e185a5074148528db2"><li id="mrs_02_0028__l13c981ce21224f819f878980b4fed42a"><strong id="mrs_02_0028__b2621194719713">LT</strong>: less than</li><li id="mrs_02_0028__lcc7e6b1462834f3e815643afc36f44c1"><strong id="mrs_02_0028__b4198541711">GT</strong>: greater than</li><li id="mrs_02_0028__l1b37bddaae0849138262f4a5b45bde3e"><strong id="mrs_02_0028__b11432135816714">LTOE</strong>: less than or equal to</li><li id="mrs_02_0028__l5d7813f50b03478ca9060afa7af9a4f4"><strong id="mrs_02_0028__b4952162287">GTOE</strong>: greater than or equal to</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rf50d0c4b959f434f956a9cd587368b68"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.12.2.5.1.1 "><p id="mrs_02_0028__a03c9f551658b4130989f42292477ab3a">evaluation_periods</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.2 "><p id="mrs_02_0028__a036fbc2365fe431f9752b41bf56b6913">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.12.2.5.1.3 "><p id="mrs_02_0028__aaf1bc273e1ea46b3bd11b243b4223b90">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.12.2.5.1.4 "><p id="mrs_02_0028__aac0eda51209e440da2832133da986fe2">Number of consecutive five-minute periods, during which a metric threshold is reached</p>
|
|
<p id="mrs_02_0028__ab1eaebbe8f6a4f64ba521a9e4558f4b4">Value range: 1 to 288</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__t27de3279a99a48968dacb015c498d9cb"></a><a name="t27de3279a99a48968dacb015c498d9cb"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t27de3279a99a48968dacb015c498d9cb" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Auto scaling metrics</caption><thead align="left"><tr id="mrs_02_0028__r6f513581428249f08e517a602d698e15"><th align="left" class="cellrowborder" valign="top" width="15.598440155984402%" id="mcps1.3.3.13.2.5.1.1"><p id="mrs_02_0028__a438235aa61f14211bfc4a1a5b83eb558">Cluster Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.437556244375564%" id="mcps1.3.3.13.2.5.1.2"><p id="mrs_02_0028__abe5e348bbff341ce8105e23a1ed1773b">Metric Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.22847715228477%" id="mcps1.3.3.13.2.5.1.3"><p id="mrs_02_0028__a682d9e227f744055822e498bf9c5856d">Value Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.73552644735527%" id="mcps1.3.3.13.2.5.1.4"><p id="mrs_02_0028__a253484a6f10b4e48932213cd57a12322">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__r3d35885bfaf34dd19a45669ca955ca07"><td class="cellrowborder" rowspan="7" valign="top" width="15.598440155984402%" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a5114f66cbef24be89bf81e8698e641bf">Streaming cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.437556244375564%" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__ac72545b57c754656979548eb610a6870">StormSlotAvailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.22847715228477%" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a335961e130ae43bbad38525916ff3c50">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.73552644735527%" headers="mcps1.3.3.13.2.5.1.4 "><p id="mrs_02_0028__a6798fd17f81446d7bc23b65c206e62df">Number of available Storm slots.</p>
|
|
<p id="mrs_02_0028__af8a8f569acf143b1b0641749d9a8958c">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rb933f33ebd4043ba9e917d0d2f4852e3"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__ab02fb123f43e415b8bb10a908a8acb3b">StormSlotAvailablePercentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a52893a2e940f4c5ab48c2e5473ce2f0a">Percentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a019e6f8ac83a4aa88544fb69ef775a38">Percentage of available Storm slots, that is, the proportion of the available slots to total slots</p>
|
|
<p id="mrs_02_0028__ac2fa579fd8b34e32bee870e7fc7f2ac9">Value range: 0 to 100</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r08070c64771a42b6a113d6febbfaa29d"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a691509a26b894eb482bc9ba4b595edb1">StormSlotUsed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__abe031b1f053a4e3ead22c147dcafa3aa">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a277ae72eb6754de2bf11608cd9e6e12e">Number of the used Storm slots.</p>
|
|
<p id="mrs_02_0028__ae765f078f7354dacb24c79349c9a5e6c">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__re0b727e5886646b49fe255ac2e7a2951"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__afd137ca4d82b4bceb58798293de6c8d4">StormSlotUsedPercentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a880db12e66534c39810fd1d0bd16093a">Percentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__ad49e3d813f2d4239a469338f348c3077">Percentage of the used Storm slots, that is, the proportion of the used slots to total slots.</p>
|
|
<p id="mrs_02_0028__ada4c81170b0d4b93b744a65a698d5174">Value range: 0 to 100</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row177919386154"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__p135088571721">StormSupervisorMemAverageUsage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__p1950845719217">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__p165082571219">Average memory usage of the Supervisor process of Storm.</p>
|
|
<p id="mrs_02_0028__p165194141793">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row631194414155"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__p188210636">StormSupervisorMemAverageUsagePercentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__p6821801732">Percentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__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_0028__p3227151918108">Value range: 0 to 100</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row7783194871512"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__p794819218319">StormSupervisorCPUAverageUsagePercentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__p1494842533">Percentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__p1948121837">Average percentage of the used CPUs of the Supervisor process of Storm to the total CPUs.</p>
|
|
<p id="mrs_02_0028__p1690164451113">Value range: 0 to 6,000</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__ra430378d169b44c29d0139187c0f4a11"><td class="cellrowborder" rowspan="14" valign="top" width="15.598440155984402%" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__af2c3361bef3e4acda820a0b5349dab94">Analysis cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.437556244375564%" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a2ebc162d44404c4b9171628d2937cac6">YARNAppPending</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.22847715228477%" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a49aea79e2e884b39906752aeb50f6a38">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.73552644735527%" headers="mcps1.3.3.13.2.5.1.4 "><p id="mrs_02_0028__ad5b596886c494b288346f643daa764e9">Number of pending tasks on Yarn.</p>
|
|
<p id="mrs_02_0028__a35def1222c304e88a59b86583ce0130d">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r1c774463d2a14083a7fdfd96cbaefcef"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a26a74b6270f741a09b3bc5dec2b8a129">YARNAppPendingRatio</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a8867793be2584544838efdc864b1b199">Ratio</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a16e41ae39c3542cea4823cc61c96a5d3">Ratio of pending tasks on Yarn, that is, the ratio of pending tasks to running tasks on Yarn.</p>
|
|
<p id="mrs_02_0028__a2d50ce28b3f445d49825f72dd917624d">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__ra094fb90825148839fb3e3c750b09969"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__aa9ba37f3d402455d8e6f9d17b3b83329">YARNAppRunning</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a985a37b47e8541daa74672ec40190b2d">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__ab56444e8f8054590a8eb9776184ee285">Number of running tasks on Yarn.</p>
|
|
<p id="mrs_02_0028__a6bb7fc15c9cc497b9befea371482ee14">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r877ab3607fb24199a4f8f5e6027e2d83"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a5e1a1fcebf9c4f5f96457b335d8d3524">YARNContainerAllocated</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a4582c276628b40d69800e7c2f0f3e496">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a8dd055b550404e3586a2d008b49cb4aa">Number of containers allocated to Yarn.</p>
|
|
<p id="mrs_02_0028__a0af753d126374689b243d324b8b62643">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rf899d1058342458c8922fce992d570cc"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a3c879e53204943baa6f00e332603b436">YARNContainerPending</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a9a4b0bf584494168ad484b62945df5ab">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__abd01e06bb70544e38882c07fdf1e5fbe">Number of pending containers on Yarn.</p>
|
|
<p id="mrs_02_0028__a93d072fada4a4322bb38029de44e1ea2">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r6eea766caaa8483ba2889235d08f1fb1"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a554108d1a4ac4d548d0d7c913d2c0e96">YARNContainerPendingRatio</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a2f421b01c38b4dacab515d5013a94ec6">Ratio</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a3ff2b486a44e4a079f2893a62ebe1057">Ratio of pending containers on Yarn, that is, the ratio of pending containers to running containers on Yarn.</p>
|
|
<p id="mrs_02_0028__afbecb57893244882aa592c19c2c6d4ca">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rada32b2ffd544cdb9aceb4f9499866c0"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__aa85783e97d85436eaf8172c7a9377839">YARNCPUAllocated</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__ae9db170af0a74db097a4118d3c6acbd5">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a83a9e1639ef541398ad1326edfbe5652">Number of virtual CPUs (vCPUs) allocated to Yarn</p>
|
|
<p id="mrs_02_0028__a647834b124bd4911a4e811ad0d5fab4e">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r24f9d8b6e19347a6af3a2b2602817b67"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a56f523a1e5d3450bbfdda7743eb92854">YARNCPUAvailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a1879208a01884bc3bd21a4d2c696aad8">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a0ae5d086156342deba2460f41206c148">Number of available vCPUs on Yarn.</p>
|
|
<p id="mrs_02_0028__aee8087bc3ad8436fa0f8ef040ba673ab">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rb1a623bacb3446a7ad80947e61db5e14"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a14553be3cec14ae38983fbfb99f29d83">YARNCPUAvailablePercentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a4ba6a334b5624002aea5c16ec2bef623">Percentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a7f11c0314e0d4bcba94eaf62b670b6f1">Percentage of available vCPUs on Yarn, that is, the proportion of available vCPUs to total vCPUs.</p>
|
|
<p id="mrs_02_0028__a50104756cbae4a11afe22dfe9b28fd26">Value range: 0 to 100</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r0d968a43dce44f34bc59e65763a42dff"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__aaf82b0df6bd1489b9e4835f72e66848b">YARNCPUPending</p>
|
|
<p id="mrs_02_0028__adb1ad1fe51bc4d9097f76ed15949faee"></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a182e236f3a6547c1b0c9ddeedc1cb812">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a091982b0354948558a83a2972fc10d78">Number of pending vCPUs on Yarn.</p>
|
|
<p id="mrs_02_0028__a28c518ff6e6f4720a9f248b1785b1a2b">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r07797e16294f41f2bd22c3d3e0f4fd86"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__af491e04ac4c749678edb5ccd96ecad9c">YARNMemoryAllocated</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__ab2771fecf43a4a048713d458958feac6">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__ab22cfcbebf544c61b8dc9284e58cf92a">Memory allocated to Yarn. The unit is MB.</p>
|
|
<p id="mrs_02_0028__a482cb09ec7f146e997111e48c2165fad">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__re4224e170a464ddcb72136c05158e75b"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__a2e28017342644f3eb52611d00003d7b7">YARNMemoryAvailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__ab709decebd9e4b69a20482fd11472034">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a561342c4dfc44654a5ea5ebfcb97c989">Available memory on Yarn. The unit is MB.</p>
|
|
<p id="mrs_02_0028__abfa4f9cfe2094a23b33bdd2f66070f57">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__refec09246ff047d7a9e3bf7d06a42cfd"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__aaa3390f6e15d4e5ea1140e5d599e6035">YARNMemoryAvailablePercentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a67ac734ecc7b4b018a960953697740ed">Percentage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__ac111dffe2233485382eab7979f3b65b3">Percentage of available memory on Yarn, that is, the proportion of available memory to total memory on Yarn.</p>
|
|
<p id="mrs_02_0028__ae0f790dfccb9435484818f104234f1ea">Value range: 0 to 100</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r0c96fd2f38dc41c6abb55f6997c2f4ad"><td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.1 "><p id="mrs_02_0028__af44c9409613840b281cd58f04122b5f8">YARNMemoryPending</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.2 "><p id="mrs_02_0028__a462b3630c14b4fdcb4fbeabe4d5767cb">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.13.2.5.1.3 "><p id="mrs_02_0028__a4a7656ef0e7d41e994bb809330d24e1f">Pending memory on Yarn.</p>
|
|
<p id="mrs_02_0028__a5a450cbc34414ab599f331078b5f7d88">Value range: 0 to 2147483646</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="mrs_02_0028__n787a8568e53545df90ce7ad5f5009ce1"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_02_0028__af3214f6e277f436b90b2c7c3cc9aa758">When the value type is percentage or ratio in <a href="#mrs_02_0028__t27de3279a99a48968dacb015c498d9cb">Table 14</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 class="tablenoborder"><a name="mrs_02_0028__table1258382865010"></a><a name="table1258382865010"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__table1258382865010" frame="border" border="1" rules="all"><caption><b>Table 15 </b><strong id="mrs_02_0028__b14646756195619">bootstrap_scripts</strong> parameter description</caption><thead align="left"><tr id="mrs_02_0028__row16585132875017"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.15.2.5.1.1"><p id="mrs_02_0028__p2058552815010"><strong id="mrs_02_0028__b144217612013">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.15.2.5.1.2"><p id="mrs_02_0028__p4585152815505">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.15.2.5.1.3"><p id="mrs_02_0028__p145856289503">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.15.2.5.1.4"><p id="mrs_02_0028__p35851281504">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__row19585182815014"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.15.2.5.1.1 "><p id="mrs_02_0028__p0223193618537">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.2 "><p id="mrs_02_0028__p1322353616531">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.3 "><p id="mrs_02_0028__p1422373615314">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.15.2.5.1.4 "><p id="mrs_02_0028__p27361059145112">Name of a bootstrap action script. It must be unique in a cluster.</p>
|
|
<p id="mrs_02_0028__p1768234115215">The value can contain only digits, letters, spaces, hyphens (-), and underscores (_) and cannot start with a space.</p>
|
|
<p id="mrs_02_0028__p35651138195212">The value can contain 1 to 64 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row55851328175016"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.15.2.5.1.1 "><p id="mrs_02_0028__p132232362536">uri</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.2 "><p id="mrs_02_0028__p12223123614537">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.3 "><p id="mrs_02_0028__p16223183655320">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.15.2.5.1.4 "><p id="mrs_02_0028__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_0028__ul129121753017"><li id="mrs_02_0028__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_0028__b156521362034">s3a://bootstrap/presto/presto-install.sh</strong>. If <strong id="mrs_02_0028__b3177141715214">dualroles</strong> is installed, the parameter of the <strong id="mrs_02_0028__b141789175220">presto-install.sh</strong> script is <strong id="mrs_02_0028__b1417961714218">dualroles</strong>. If <strong id="mrs_02_0028__b71811017122">worker</strong> is installed, the parameter of the <strong id="mrs_02_0028__b3182417523">presto-install.sh</strong> script is <strong id="mrs_02_0028__b71841717829">worker</strong>. Based on the Presto usage habit, you are advised to install <strong id="mrs_02_0028__b842352706171336">dualroles</strong> on the active Master nodes and <strong id="mrs_02_0028__b842352706171346">worker</strong> on the Core nodes.</li><li id="mrs_02_0028__li12890919103016">Local VM path: Enter a script path. The script path must start with a slash (/) and end with <strong id="mrs_02_0028__b1283338432">.sh</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row11585122835019"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.15.2.5.1.1 "><p id="mrs_02_0028__p32231936175317">parameters</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.2 "><p id="mrs_02_0028__p2223193615533">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.3 "><p id="mrs_02_0028__p322373685317">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.15.2.5.1.4 "><p id="mrs_02_0028__p28581637172215">Bootstrap action script parameters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row2058516287502"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.15.2.5.1.1 "><p id="mrs_02_0028__p7694821145413">nodes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.2 "><p id="mrs_02_0028__p42231036165313">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.3 "><p id="mrs_02_0028__p1822313612539">Array String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.15.2.5.1.4 "><p id="mrs_02_0028__p12585928145012">Type of a node where the bootstrap action script is executed. The value can be <strong id="mrs_02_0028__b36558185717">Master</strong>, <strong id="mrs_02_0028__b195826211971">Core</strong>, or <strong id="mrs_02_0028__b15989241079">Task</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row4757171219539"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.15.2.5.1.1 "><p id="mrs_02_0028__p19223203615313">active_master</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.2 "><p id="mrs_02_0028__p92233362534">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.3 "><p id="mrs_02_0028__p152231536145317">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.15.2.5.1.4 "><p id="mrs_02_0028__p207581812185316">Whether the bootstrap action script runs only on active Master nodes.</p>
|
|
<p id="mrs_02_0028__p1919931141119">The default value is <strong id="mrs_02_0028__b1599618249918">false</strong>, indicating that the bootstrap action script can run on all Master nodes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row12296121585317"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.15.2.5.1.1 "><p id="mrs_02_0028__p965715541023">before_component_start</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.2 "><p id="mrs_02_0028__p7224153625312">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.3 "><p id="mrs_02_0028__p12224173635317">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.15.2.5.1.4 "><p id="mrs_02_0028__p11296615135311">Time when the bootstrap action script is executed. Currently, the following two options are available: <strong id="mrs_02_0028__b842352706114015">Before component start</strong> and <strong id="mrs_02_0028__b842352706114018">After component start</strong></p>
|
|
<p id="mrs_02_0028__p172869585132">The default value is <strong id="mrs_02_0028__b811175019910">false</strong>, indicating that the bootstrap action script is executed after the component is started.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__row1193251913537"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.15.2.5.1.1 "><p id="mrs_02_0028__p132241936165315">fail_action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.2 "><p id="mrs_02_0028__p022443635318">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.15.2.5.1.3 "><p id="mrs_02_0028__p3224113655314">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.15.2.5.1.4 "><p id="mrs_02_0028__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_0028__ul18391113413191"><li id="mrs_02_0028__li1339113413193"><strong id="mrs_02_0028__b595449267">continue</strong>: Continue to execute subsequent scripts.</li><li id="mrs_02_0028__li1778394091917"><strong id="mrs_02_0028__b1279175113610">errorout</strong>: Stop the action.</li></ul>
|
|
<div class="p" id="mrs_02_0028__p1818026201614">The default value is <strong id="mrs_02_0028__b8898494106">errorout</strong>, indicating that the action is stopped.<div class="note" id="mrs_02_0028__note796819345579"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_02_0028__p6994625143710">You are advised to set this parameter to <strong id="mrs_02_0028__b1447043741">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>
|
|
<div class="section" id="mrs_02_0028__s1fc899f588a54d38b6cd3a9ac7aef5e2"><h4 class="sectiontitle">Response</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t2e2c04af37c5480ea9025d026610b9bb" frame="border" border="1" rules="all"><caption><b>Table 16 </b>Response parameter description</caption><thead align="left"><tr id="mrs_02_0028__r2e166255b6f94f9d8c077a8042e0595f"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.2.4.1.1"><p id="mrs_02_0028__en-us_topic_0110581924_p42893210328"><strong id="mrs_02_0028__b13192135117102">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.2.4.1.2"><p id="mrs_02_0028__abce61d58ffb84dcebac614d57bc68c71">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_0028__a9e61b6c89c234b31ab5421e0205f85b2">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__r8ae12bdde7d4444d92599009f4297e6e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0028__a0f0db59ba5074b109734aaabee70e269">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0028__en-us_topic_0110581924_p744840610328">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0028__afce6114c78d44a70995e2699bdc177f8">Cluster ID, which is returned by the system after the cluster is created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__rf4387f34c6fc4e7ba9e1f59b4ba61a3c"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0028__a0832285830b948a0837e2ed4e63fe2af">result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0028__a17b7c484f84b461aafbb3194cbaf8f5e">Bool</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0028__en-us_topic_0110581924_p579568910328">Operation result.</p>
|
|
<ul id="mrs_02_0028__uc323531d101446e59160932bb68f00ba"><li id="mrs_02_0028__lae8b40d36a2a4987a05236459354820f"><strong id="mrs_02_0028__b13529105510304">true</strong>: The operation is successful.</li><li id="mrs_02_0028__le18bea55af4843a48dd23e1fccf5c392"><strong id="mrs_02_0028__b2062485833012">false</strong>: The operation failed.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_02_0028__r345025ef16ec499b9bc7da57e699fe4c"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0028__a8d7eb9310db443a3b0aa4ae0b305a092">msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0028__a7b51865fb8e14eadaba6fb1bf0131ba1">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0028__a640daaea3378476186914f6e991f93f1">System message, which can be empty.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="mrs_02_0028__section141101025191619"><h4 class="sectiontitle">Example</h4><ul id="mrs_02_0028__ul157311411144"><li id="mrs_02_0028__lfe59eeda389d4f6795120f04831beb31">Example request<ul id="mrs_02_0028__ul1021315245201"><li id="mrs_02_0028__li15421203052019">Creating a cluster with <span class="parmname" id="mrs_02_0028__parmname1178015511101"><b>Cluster HA</b></span> enabled (using the <strong id="mrs_02_0028__b11225173511324">node_groups</strong> parameter group)<pre class="screen" id="mrs_02_0028__screen6207174415612">{
|
|
"billing_type": 12,
|
|
"data_center": "eu-de",
|
|
"available_zone_id": "bf84aba586ce4e948da0b97d9a7d62fb",
|
|
"cluster_name": "mrs_HEbK",
|
|
"cluster_version": "MRS 3.X.X",
|
|
"safe_mode": 0,
|
|
"cluster_type": 0,
|
|
"component_list": [
|
|
{
|
|
"component_name": "Hadoop"
|
|
},
|
|
{
|
|
"component_name": "Spark"
|
|
},
|
|
{
|
|
"component_name": "HBase"
|
|
},
|
|
{
|
|
"component_name": "Hive"
|
|
},
|
|
{
|
|
"component_name": "Presto"
|
|
},
|
|
{
|
|
"component_name": "Tez"
|
|
},
|
|
{
|
|
"component_name": "Hue"
|
|
},
|
|
{
|
|
"component_name": "Loader"
|
|
},
|
|
{
|
|
"component_name": "Flink"
|
|
}
|
|
],
|
|
"vpc": "vpc-4b1c",
|
|
"vpc_id": "4a365717-67be-4f33-80c5-98e98a813af8",
|
|
"subnet_id": "67984709-e15e-4e86-9886-d76712d4e00a",
|
|
"subnet_name": "subnet-4b44",
|
|
"security_groups_id": "4820eace-66ad-4f2c-8d46-cf340e3029dd",
|
|
"tags": [{
|
|
"key": "key1",
|
|
"value": "value1"
|
|
}, {
|
|
"key": "key2",
|
|
"value": "value2"
|
|
}],
|
|
"node_groups": [{
|
|
"group_name": "master_node_default_group",
|
|
"node_num": 2,
|
|
"node_size": "c6.4.xlarge.4linux.mrs",
|
|
"root_volume_size": 480,
|
|
"root_volume_type": "SATA",
|
|
"data_volume_type": "SATA",
|
|
"data_volume_count": 1,
|
|
"data_volume_size": 600
|
|
}, {
|
|
"group_name": "core_node_analysis_group",
|
|
"node_num": 3,
|
|
"node_size": "c6.4.xlarge.4linux.mrs",
|
|
"root_volume_size": 480,
|
|
"root_volume_type": "SATA",
|
|
"data_volume_type": "SATA",
|
|
"data_volume_count": 1,
|
|
"data_volume_size": 600
|
|
}, {
|
|
"group_name": "task_node_analysis_group",
|
|
"node_num": 2,
|
|
"node_size": "c6.4.xlarge.4linux.mrs",
|
|
"root_volume_size": 480,
|
|
"root_volume_type": "SATA",
|
|
"data_volume_type": "SATA",
|
|
"data_volume_count": 0,
|
|
"data_volume_size": 600,
|
|
"auto_scaling_policy": {
|
|
"auto_scaling_enable": true,
|
|
"min_capacity": 1,
|
|
"max_capacity": "3",
|
|
"resources_plans": [{
|
|
"period_type": "daily",
|
|
"start_time": "9:50",
|
|
"end_time": "10:20",
|
|
"min_capacity": 2,
|
|
"max_capacity": 3
|
|
}, {
|
|
"period_type ": "daily",
|
|
"start_time ": "10:20",
|
|
"end_time ": "12:30",
|
|
"min_capacity ": 0,
|
|
"max_capacity ": 2
|
|
}],
|
|
"exec_scripts": [{
|
|
"name": "before_scale_out",
|
|
"uri": "s3a://XXX/zeppelin_install.sh ",
|
|
"parameters": "${mrs_scale_node_num} ${mrs_scale_type} xxx",
|
|
"nodes": ["master", "core", "task"],
|
|
"active_master": "true",
|
|
"action_stage": "before_scale_out",
|
|
"fail_sction": "continue"
|
|
}, {
|
|
"name": "after_scale_out",
|
|
"uri": "s3a://XXX/storm_rebalance.sh",
|
|
"parameters": "${mrs_scale_node_hostnames} ${mrs_scale_node_ips}",
|
|
"nodes": ["master", "core", "task"],
|
|
"active_master": "true",
|
|
"action_stage": "after_scale_out",
|
|
"fail_action": "continue"
|
|
}],
|
|
"rules": [{
|
|
"name": "default-expand-1",
|
|
"adjustment_type": "scale_out",
|
|
"cool_down_minutes": 5,
|
|
"scaling_adjustment": 1,
|
|
"trigger": {
|
|
"metric_name": "YARNMemoryAvailablePercentage",
|
|
"metric_value": "25",
|
|
"comparison_operator": "LT",
|
|
"evaluation_periods": 10
|
|
}
|
|
}, {
|
|
"name": "default-shrink-1",
|
|
"adjustment_type": "scale_in",
|
|
"cool_down_minutes": 5,
|
|
"scaling_adjustment": 1,
|
|
"trigger": {
|
|
"metric_name": "YARNMemoryAvailablePercentage",
|
|
"metric_value": "70",
|
|
"comparison_operator": "GT",
|
|
"evaluation_periods": 10
|
|
}
|
|
}]
|
|
}
|
|
}
|
|
],
|
|
"login_mode": 1,
|
|
"cluster_master_secret": "",
|
|
"cluster_admin_secret": "",
|
|
"log_collection": 1,
|
|
"add_jobs": [{
|
|
"job_type": 1,
|
|
"job_name": "tenji111",
|
|
"jar_path": "s3a://bigdata/program/hadoop-mapreduce-examples-2.7.2.jar",
|
|
"arguments": "wordcount",
|
|
"input": "s3a://bigdata/input/wd_1k/",
|
|
"output": "s3a://bigdata/ouput/",
|
|
"job_log": "s3a://bigdata/log/",
|
|
"shutdown_cluster": true,
|
|
"file_action": "",
|
|
"submit_job_once_cluster_run": true,
|
|
"hql": "",
|
|
"hive_script_path": ""
|
|
}],
|
|
"bootstrap_scripts": [{
|
|
"name": "Modify os config",
|
|
"uri": "s3a://XXX/modify_os_config.sh",
|
|
"parameters": "param1 param2",
|
|
"nodes": ["master", "core", "task"],
|
|
"active_master": "false",
|
|
"before_component_start": "true",
|
|
"fail_action": "continue"
|
|
}, {
|
|
"name": "Install zepplin",
|
|
"uri": "s3a://XXX/zeppelin_install.sh",
|
|
"parameters": "",
|
|
"nodes": ["master"],
|
|
"active_master": "true",
|
|
"before_component_start": "false",
|
|
"fail_action": "continue"
|
|
}]
|
|
}</pre>
|
|
</li><li id="mrs_02_0028__li152334167205">Creating a cluster with <span class="parmname" id="mrs_02_0028__parmname12947204414465"><b>Cluster HA</b></span> enabled (without using the <strong id="mrs_02_0028__b176962201331">node_groups</strong> parameter group)<pre class="screen" id="mrs_02_0028__screen297407154212">{
|
|
"billing_type": 12,
|
|
"data_center": "eu-de",
|
|
"master_node_num": 2,
|
|
"master_node_size": "s1.8xlarge.linux.mrs",
|
|
"core_node_num": 3,
|
|
"core_node_size": "c6.4xlarge.4linux.mrs",
|
|
"available_zone_id": "bf84aba586ce4e948da0b97d9a7d62fb",
|
|
"cluster_name": "newcluster",
|
|
"vpc": "vpc1",
|
|
"vpc_id": "5b7db34d-3534-4a6e-ac94-023cd36aaf74",
|
|
"subnet_id": "815bece0-fd22-4b65-8a6e-15788c99ee43",
|
|
"subnet_name": "subnet",
|
|
"security_groups_id": "",
|
|
"tags": [
|
|
{
|
|
"key": "key1",
|
|
"value": "value1"
|
|
},
|
|
{
|
|
"key": "key2",
|
|
"value": "value2"
|
|
}
|
|
],
|
|
"cluster_version": "MRS 3.X.X",
|
|
"cluster_type": 0,
|
|
"master_data_volume_type": "SATA",
|
|
"master_data_volume_size": 100,
|
|
"master_data_volume_count": 1,
|
|
"core_data_volume_type": "SATA",
|
|
"core_data_volume_size": 100,
|
|
"core_data_volume_count": 2,
|
|
"login_mode": 1,
|
|
"node_public_cert_name": "SSHkey-bba1",
|
|
"safe_mode": 0,
|
|
"cluster_admin_secret":"******",
|
|
"log_collection": 1,
|
|
"task_node_groups": [
|
|
{
|
|
|
|
"node_num": 2,
|
|
"node_size": "c6.4.xlarge.4linux.mrs",
|
|
"data_volume_type": "SATA",
|
|
"data_volume_count": 1,
|
|
"data_volume_size": 600,
|
|
"auto_scaling_policy":
|
|
{
|
|
"auto_scaling_enable": true,
|
|
"min_capacity": "1",
|
|
"max_capacity": "3",
|
|
"resources_plans": [{
|
|
"period_type": "daily",
|
|
"start_time": "9:50",
|
|
"end_time": "10:20",
|
|
"min_capacity": "2",
|
|
"max_capacity": "3"
|
|
},{
|
|
"period_type": "daily",
|
|
"start_time": "10:20",
|
|
"end_time": "12:30",
|
|
"min_capacity": "0",
|
|
"max_capacity": "2"
|
|
}],
|
|
"exec_scripts": [{
|
|
"name": "before_scale_out",
|
|
"uri": "s3a://XXX/zeppelin_install.sh",
|
|
"parameters": "",
|
|
"nodes": [
|
|
"master",
|
|
"core",
|
|
"task"
|
|
],
|
|
"active_master": "true",
|
|
"action_stage": "before_scale_out",
|
|
"fail_action": "continue"
|
|
},{
|
|
"name": "after_scale_out",
|
|
"uri": "s3a://XXX/storm_rebalance.sh",
|
|
"parameters": "",
|
|
"nodes": [
|
|
"master",
|
|
"core",
|
|
"task"
|
|
],
|
|
"active_master": "true",
|
|
"action_stage": "after_scale_out",
|
|
"fail_action": "continue"
|
|
}],
|
|
"rules": [
|
|
{
|
|
"name": "default-expand-1",
|
|
"adjustment_type": "scale_out",
|
|
"cool_down_minutes": 5,
|
|
"scaling_adjustment": 1,
|
|
"trigger": {
|
|
"metric_name": "YARNMemoryAvailablePercentage",
|
|
"metric_value": "25",
|
|
"comparison_operator": "LT",
|
|
"evaluation_periods": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "default-shrink-1",
|
|
"adjustment_type": "scale_in",
|
|
"cool_down_minutes": 5,
|
|
"scaling_adjustment": 1,
|
|
"trigger": {
|
|
"metric_name": "YARNMemoryAvailablePercentage",
|
|
"metric_value": "70",
|
|
"comparison_operator": "GT",
|
|
"evaluation_periods": 10
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"component_list": [
|
|
{
|
|
"component_name": "Hadoop"
|
|
},
|
|
{
|
|
"component_name": "Spark"
|
|
},
|
|
{
|
|
"component_name": "HBase"
|
|
},
|
|
{
|
|
"component_name": "Hive"
|
|
},
|
|
{
|
|
"component_name": "Presto"
|
|
},
|
|
{
|
|
"component_name": "Tez"
|
|
},
|
|
{
|
|
"component_name": "Hue"
|
|
},
|
|
{
|
|
"component_name": "Loader"
|
|
},
|
|
{
|
|
"component_name": "Flink"
|
|
}
|
|
],
|
|
"add_jobs": [
|
|
{
|
|
"job_type": 1,
|
|
"job_name": "tenji111",
|
|
"jar_path": "s3a://bigdata/program/hadoop-mapreduce-examples-XXX.jar",
|
|
"arguments": "wordcount",
|
|
"input": "s3a://bigdata/input/wd_1k/",
|
|
"output": "s3a://bigdata/ouput/",
|
|
"job_log": "s3a://bigdata/log/",
|
|
"shutdown_cluster": false,
|
|
"file_action": "",
|
|
"submit_job_once_cluster_run": true,
|
|
"hql": "",
|
|
"hive_script_path": ""
|
|
}
|
|
],
|
|
"bootstrap_scripts": [
|
|
{
|
|
"name":"Modify os config",
|
|
"uri":"s3a://XXX/modify_os_config.sh",
|
|
"parameters":"param1 param2",
|
|
"nodes":[
|
|
"master",
|
|
"core",
|
|
"task"
|
|
],
|
|
"active_master":"false",
|
|
"before_component_start":"true",
|
|
"fail_action":"continue"
|
|
},
|
|
{
|
|
"name":"Install zepplin",
|
|
"uri":"s3a://XXX/zeppelin_install.sh",
|
|
"parameters":"",
|
|
"nodes":[
|
|
"master"
|
|
],
|
|
"active_master":"true",
|
|
"before_component_start":"false",
|
|
"fail_action":"continue"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li><li id="mrs_02_0028__li159320138388">Disabling the <span class="parmname" id="mrs_02_0028__parmname115908193179"><b>Cluster HA</b></span> function and creating a cluster with the minimum specifications (using the <strong id="mrs_02_0028__b610982510349">node_groups</strong> parameter group)<pre class="screen" id="mrs_02_0028__screen1465319470396">{
|
|
"billing_type": 12,
|
|
"data_center": "eu-de",
|
|
"available_zone_id": "bf84aba586ce4e948da0b97d9a7d62fb",
|
|
"cluster_name": "mrs_HEbK",
|
|
"cluster_version": "MRS 3.X.X",
|
|
"safe_mode": 0,
|
|
"cluster_type": 0,
|
|
"component_list": [
|
|
{
|
|
"component_name": "Hadoop"
|
|
},
|
|
{
|
|
"component_name": "Spark"
|
|
},
|
|
{
|
|
"component_name": "HBase"
|
|
},
|
|
{
|
|
"component_name": "Hive"
|
|
},
|
|
{
|
|
"component_name": "Presto"
|
|
},
|
|
{
|
|
"component_name": "Tez"
|
|
},
|
|
{
|
|
"component_name": "Hue"
|
|
},
|
|
{
|
|
"component_name": "Loader"
|
|
},
|
|
{
|
|
"component_name": "Flink"
|
|
}
|
|
],
|
|
"vpc": "vpc-4b1c",
|
|
"vpc_id": "4a365717-67be-4f33-80c5-98e98a813af8",
|
|
"subnet_id": "67984709-e15e-4e86-9886-d76712d4e00a",
|
|
"subnet_name": "subnet-4b44",
|
|
"security_groups_id": "4820eace-66ad-4f2c-8d46-cf340e3029dd",
|
|
"tags": [{
|
|
"key": "key1",
|
|
"value": "value1"
|
|
}, {
|
|
"key": "key2",
|
|
"value": "value2"
|
|
}],
|
|
"node_groups": [{
|
|
"group_name": "master_node_default_group",
|
|
"node_num": 1,
|
|
"node_size": "c6.4.xlarge.4linux.mrs",
|
|
"root_volume_size": 480,
|
|
"root_volume_type": "SATA",
|
|
"data_volume_type": "SATA",
|
|
"data_volume_count": 1,
|
|
"data_volume_size": 600
|
|
}, {
|
|
"group_name": "core_node_analysis_group",
|
|
"node_num": 1,
|
|
"node_size": "c6.4.xlarge.4linux.mrs",
|
|
"root_volume_size": 480,
|
|
"root_volume_type": "SATA",
|
|
"data_volume_type": "SATA",
|
|
"data_volume_count": 1,
|
|
"data_volume_size": 600
|
|
}
|
|
],
|
|
"login_mode": 1,
|
|
"cluster_master_secret": "",
|
|
"cluster_admin_secret": "",
|
|
"log_collection": 1,
|
|
"add_jobs": [{
|
|
"job_type": 1,
|
|
"job_name": "tenji111",
|
|
"jar_path": "s3a://bigdata/program/hadoop-mapreduce-examples-2.7.2.jar",
|
|
"arguments": "wordcount",
|
|
"input": "s3a://bigdata/input/wd_1k/",
|
|
"output": "s3a://bigdata/ouput/",
|
|
"job_log": "s3a://bigdata/log/",
|
|
"shutdown_cluster": true,
|
|
"file_action": "",
|
|
"submit_job_once_cluster_run": true,
|
|
"hql": "",
|
|
"hive_script_path": ""
|
|
}],
|
|
"bootstrap_scripts": [{
|
|
"name": "Modify os config",
|
|
"uri": "s3a://XXX/modify_os_config.sh",
|
|
"parameters": "param1 param2",
|
|
"nodes": ["master", "core", "task"],
|
|
"active_master": "false",
|
|
"before_component_start": "true",
|
|
"fail_action": "continue"
|
|
}, {
|
|
"name": "Install zepplin",
|
|
"uri": "s3a://XXX/zeppelin_install.sh",
|
|
"parameters": "",
|
|
"nodes": ["master"],
|
|
"active_master": "true",
|
|
"before_component_start": "false",
|
|
"fail_action": "continue"
|
|
}]
|
|
}</pre>
|
|
</li><li id="mrs_02_0028__li157929819381">Disabling the <span class="parmname" id="mrs_02_0028__parmname156815118390"><b>Cluster HA</b></span> function and creating a cluster with the minimum specifications (without using the <strong id="mrs_02_0028__b723615175718">node_groups</strong> parameter group)<pre class="screen" id="mrs_02_0028__screen3950064910328">{
|
|
"billing_type": 12,
|
|
"data_center": "eu-de",
|
|
"master_node_num": 1
|
|
"master_node_size": "s1.8xlarge.linux.mrs",
|
|
"core_node_num": 1,
|
|
"core_node_size": "c6.4xlarge.4linux.mrs",
|
|
"available_zone_id": "bf84aba586ce4e948da0b97d9a7d62fb",
|
|
"cluster_name": "newcluster",
|
|
"vpc": "vpc1",
|
|
"vpc_id": "5b7db34d-3534-4a6e-ac94-023cd36aaf74",
|
|
"subnet_id": "815bece0-fd22-4b65-8a6e-15788c99ee43",
|
|
"subnet_name": "subnet",
|
|
"security_groups_id": "",
|
|
"tags": [
|
|
{
|
|
"key": "key1",
|
|
"value":"value1"
|
|
},
|
|
{
|
|
"key": "key2",
|
|
"value": "value2"
|
|
}
|
|
],
|
|
"cluster_version": "MRS 3.X.X",
|
|
"cluster_type": 0,
|
|
"master_data_volume_type": "SATA",
|
|
"master_data_volume_size": 100,
|
|
"master_data_volume_count": 1,
|
|
"core_data_volume_type": "SATA",
|
|
"core_data_volume_size": 100,
|
|
"core_data_volume_count": 1,
|
|
"login_mode": 1,
|
|
"node_public_cert_name": "SSHkey-bba1",
|
|
"safe_mode": 0,
|
|
"cluster_admin_secret":"******",
|
|
"log_collection": 1,
|
|
"component_list": [
|
|
{
|
|
"component_name": "Hadoop"
|
|
},
|
|
{
|
|
"component_name": "Spark"
|
|
},
|
|
{
|
|
"component_name": "HBase"
|
|
},
|
|
{
|
|
"component_name": "Hive"
|
|
},
|
|
{
|
|
"component_name": "Presto"
|
|
},
|
|
{
|
|
"component_name": "Tez"
|
|
},
|
|
{
|
|
"component_name": "Hue"
|
|
},
|
|
{
|
|
"component_name": "Loader"
|
|
},
|
|
{
|
|
"component_name": "Flink"
|
|
}
|
|
],
|
|
"add_jobs": [
|
|
{
|
|
"job_type": 1,
|
|
"job_name": "tenji111",
|
|
"jar_path": "s3a://bigdata/program/hadoop-mapreduce-examples-XXX.jar",
|
|
"arguments": "wordcount",
|
|
"input": "s3a://bigdata/input/wd_1k/",
|
|
"output": "s3a://bigdata/ouput/",
|
|
"job_log": "s3a://bigdata/log/",
|
|
"shutdown_cluster": false,
|
|
"file_action": "",
|
|
"submit_job_once_cluster_run": true,
|
|
"hql": "",
|
|
"hive_script_path": ""
|
|
}
|
|
],
|
|
"bootstrap_scripts": [
|
|
{
|
|
"name":"Install zepplin",
|
|
"uri":"s3a://XXX/zeppelin_install.sh",
|
|
"parameters":"",
|
|
"nodes":[
|
|
"master"
|
|
],
|
|
"active_master":"false",
|
|
"before_component_start":"false",
|
|
"fail_action":"continue"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</li></ul>
|
|
</div>
|
|
<ul id="mrs_02_0028__ul141841150111613"><li id="mrs_02_0028__l8224bc08cb94448f95f9bb761b92078a">Example response<pre class="screen" id="mrs_02_0028__saab808d5b978445981f7c260e0fd0451">{
|
|
"cluster_id": "<em id="mrs_02_0028__ae83f270d97bf4b478e1ace5012bd78ff">da1592c2-bb7e-468d-9ac9-83246e95447a</em>",
|
|
"result": <em id="mrs_02_0028__a5e77fb3ccbee4e7c9dba5a92488b8c2d">true</em>,
|
|
"msg": ""
|
|
}</pre>
|
|
</li></ul>
|
|
<div class="section" id="mrs_02_0028__s96840205927b4620855700bce3bdf937"><h4 class="sectiontitle">Status Code</h4><p id="mrs_02_0028__ad2226560123e44e99b37f52ccca61853"><a href="#mrs_02_0028__t9da59f1e3aaa4a09903f34b2fc2401e4">Table 17</a> describes the status code of this API.</p>
|
|
|
|
<div class="tablenoborder"><a name="mrs_02_0028__t9da59f1e3aaa4a09903f34b2fc2401e4"></a><a name="t9da59f1e3aaa4a09903f34b2fc2401e4"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0028__t9da59f1e3aaa4a09903f34b2fc2401e4" frame="border" border="1" rules="all"><caption><b>Table 17 </b>Status code</caption><thead align="left"><tr id="mrs_02_0028__r346472e3f2674761bb8ac9d23e55e89f"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.7.3.2.3.1.1"><p id="mrs_02_0028__a057d6da56f7c4c17a3c691cd4d2ac9b7">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.7.3.2.3.1.2"><p id="mrs_02_0028__a3dc3e6e82627425696fd142c5243614d">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_02_0028__r7a7171d6cc67408ca1f9309efcf0a59b"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.7.3.2.3.1.1 "><p id="mrs_02_0028__a6bf2d4310b35405c858f7bc2453ee4a6">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.7.3.2.3.1.2 "><p id="mrs_02_0028__a4f7ab33674ce48acb38caf8517f32d4c">The cluster has been successfully created.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="mrs_02_0028__a2733a61a5779404fae6ac450aee9eff2">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_0027.html">Cluster management APIs (V1)</a></div>
|
|
</div>
|
|
</div>
|
|
|