forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
34 lines
3.2 KiB
HTML
34 lines
3.2 KiB
HTML
<a name="mrs_01_0860"></a><a name="mrs_01_0860"></a>
|
|
|
|
<h1 class="topictitle1">Configuring the Number of ApplicationMaster Retries</h1>
|
|
<div id="body1590130746697"><div class="section" id="mrs_01_0860__s62817c06909141769df0a8910c1a58fd"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0860__afb7a1e469d6644c2af8ac1c6657a7c0b">When resources are insufficient or ApplicationMaster fails to start, a client probably encounters running errors.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_0860__sa9cf6c96c3a34924ab7fa807f19397ce"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_0860__a6784f4b4259842edb856ab6d2f5273c0">Go to the <strong id="mrs_01_0860__b6821223183410">All Configurations</strong> page of Yarn and enter a parameter name list in <a href="#mrs_01_0860__t5417077b8b3e4b46b7fbdef818ccc95a">Table 1</a> in the search box by referring to <a href="mrs_01_2125.html">Modifying Cluster Service Configuration Parameters</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="mrs_01_0860__t5417077b8b3e4b46b7fbdef818ccc95a"></a><a name="t5417077b8b3e4b46b7fbdef818ccc95a"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0860__t5417077b8b3e4b46b7fbdef818ccc95a" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_0860__reaa5ba5f6e774eceb1490a67b261e6d9"><th align="left" class="cellrowborder" valign="top" width="20.36%" id="mcps1.3.2.3.2.4.1.1"><p id="mrs_01_0860__a0024583b41f7474a866da9edfd25d10c">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63.41%" id="mcps1.3.2.3.2.4.1.2"><p id="mrs_01_0860__a0c9acde0b6eb40afb1e1468470bdc510">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.23%" id="mcps1.3.2.3.2.4.1.3"><p id="mrs_01_0860__a7c1f15b4f2a94c539d76d888fef7ff1c">Default Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_0860__r15514ce619414b6b9540679dac3f3c6d"><td class="cellrowborder" valign="top" width="20.36%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0860__abf9085f22f684d0c9822543469188cde">yarn.resourcemanager.am.max-attempts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63.41%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0860__aed9ac71678ba4608b352b21cb2cbe8cb">Number of retries of the ApplicationMaster. Increasing the number of retries can prevent ApplicationMaster startup failures caused by insufficient resources. This applies to global settings of all ApplicationMasters. Each ApplicationMaster can use an API to set an independent maximum number of retries. However, the number of retries cannot be greater than the global maximum number of retries. If the value is greater than the global maximum number of retries, the ResourceManager overwrites the value to allow at least one retry. The value must be greater than or equal to <strong id="mrs_01_0860__b4579181520184">1</strong>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.23%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0860__ad7d65524534048a09576019df5c48d28">5</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0851.html">Using Yarn</a></div>
|
|
</div>
|
|
</div>
|
|
|