Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
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>
2023-01-19 17:08:45 +00:00

16 lines
2.2 KiB
HTML

<a name="mrs_01_2081"></a><a name="mrs_01_2081"></a>
<h1 class="topictitle1">Why the Task Does Not Fail Even Though AppAttempts Restarts for More Than Two Times?</h1>
<div id="body8662426"><div class="section" id="mrs_01_2081__en-us_topic_0000001173789954_s9bc949c2c3514f1485614482d20d9a30"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2081__en-us_topic_0000001173789954_a1ea80f7689d04e01bfe6f54e7526fb12">Why the task does not fail even though AppAttempts restarts due to failure for more than two times?</p>
</div>
<div class="section" id="mrs_01_2081__en-us_topic_0000001173789954_s290257a7da85461c9339e36f16e0f9e8"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2081__en-us_topic_0000001173789954_a9e4572d5f8364802b47645cde11c1916">During the task execution process, if the <strong id="mrs_01_2081__en-us_topic_0000001173789954_a9d2b30361c7a4da5bae1955816970b98">ContainerExitStatus</strong> returns value <strong id="mrs_01_2081__en-us_topic_0000001173789954_aa21c292dbf0a4731be103d7dadfcc957">ABORTED</strong>, <strong id="mrs_01_2081__en-us_topic_0000001173789954_a0b007773d01d45f5acd7691a05ceafd7">PREEMPTED</strong>, <strong id="mrs_01_2081__en-us_topic_0000001173789954_a08aae642716749ed8d3da04deaf176d1">DISKS_FAILED</strong>, or <strong id="mrs_01_2081__en-us_topic_0000001173789954_aec2c80fa04964e6a883f8202ae9247ef">KILLED_BY_RESOURCEMANAGER</strong>, the system will not count it as a failed attempt. Therefore, the task fails only when the AppAttempts fails actually, that is, the return value is not <strong id="mrs_01_2081__en-us_topic_0000001173789954_a77f9d0d5dc324124a6a157ed30e8c5e9">ABORTED</strong>, <strong id="mrs_01_2081__en-us_topic_0000001173789954_ae69020cddcdd4d88beecf6a379a08a70">PREEMPTED</strong>, <strong id="mrs_01_2081__en-us_topic_0000001173789954_a8da2a622eef6475a8193a10f9c72bfea">DISKS_FAILED</strong>, or <strong id="mrs_01_2081__en-us_topic_0000001173789954_a0791c2a6619b4b00906c86854f9c6af8">KILLED_BY_RESOURCEMANAGER</strong> for two times.</p>
</div>
<p id="mrs_01_2081__en-us_topic_0000001173789954_af22ff78dfbeb4b668eda868393fbf9fd"></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2077.html">Common Issues About Yarn</a></div>
</div>
</div>