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>
2.2 KiB
2.2 KiB
Why the Task Does Not Fail Even Though AppAttempts Restarts for More Than Two Times?
Question
Why the task does not fail even though AppAttempts restarts due to failure for more than two times?
Answer
During the task execution process, if the ContainerExitStatus returns value ABORTED, PREEMPTED, DISKS_FAILED, or KILLED_BY_RESOURCEMANAGER, 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 ABORTED, PREEMPTED, DISKS_FAILED, or KILLED_BY_RESOURCEMANAGER for two times.
Parent topic: Common Issues About Yarn