You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Gergely Pollak (JIRA)" <ji...@apache.org> on 2018/10/02 23:13:00 UTC
[jira] [Commented] (YARN-8710) Service AM should set a finite limit
on NM container max retries
[ https://issues.apache.org/jira/browse/YARN-8710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16636219#comment-16636219 ]
Gergely Pollak commented on YARN-8710:
--------------------------------------
[~suma.shivaprasad] thank you for the patch! I am a bit concerned about changing the default behaviour be cause this might break backwards compatibility. I agree with your suggestion about the retry count for one single NM shouldn't be infinite, but then we will need 2 configuration parameters: One for the retry count for a single NM, and one for a total retry count. So I think this patch is only a part of a greater feature, but as a standalone patch it might cause problems.
> Service AM should set a finite limit on NM container max retries
> -----------------------------------------------------------------
>
> Key: YARN-8710
> URL: https://issues.apache.org/jira/browse/YARN-8710
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn-native-services
> Reporter: Suma Shivaprasad
> Assignee: Suma Shivaprasad
> Priority: Major
> Attachments: YARN-8710.1.patch
>
>
> Container retries are currently set to a default of -1 in AbstractProviderService.buildContainerRetry. If this is not overridden via service spec with a finite value for yarn.service.container-failure.retry.max , this causes infinite NM reties for the container for ALWAYS/ON_FAILURE restart policy . Ideally it should try a finite number of time on the same NM and subsequently Service AM can retry on another node.
> We can set this to default value of 3.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org