You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by br...@apache.org on 2018/10/12 12:28:43 UTC
[26/50] [abbrv] hadoop git commit: YARN-8710. Service AM should set a
finite limit on NM container max retries. Contributed by Suma Shivaprasad
YARN-8710. Service AM should set a finite limit on NM container max retries. Contributed by Suma Shivaprasad
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/aeeb0389
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/aeeb0389
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/aeeb0389
Branch: refs/heads/HDFS-13891
Commit: aeeb0389a58bf6bb4857bc0f246a63a4bd018d51
Parents: e787d65
Author: Billie Rinaldi <bi...@apache.org>
Authored: Thu Oct 11 08:48:18 2018 -0700
Committer: Billie Rinaldi <bi...@apache.org>
Committed: Thu Oct 11 08:59:17 2018 -0700
----------------------------------------------------------------------
.../org/apache/hadoop/yarn/service/conf/YarnServiceConf.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/aeeb0389/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/conf/YarnServiceConf.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/conf/YarnServiceConf.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/conf/YarnServiceConf.java
index 13ed1aa..b9568f2 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/conf/YarnServiceConf.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/main/java/org/apache/hadoop/yarn/service/conf/YarnServiceConf.java
@@ -34,12 +34,13 @@ public class YarnServiceConf {
// Retry settings for container failures
public static final String CONTAINER_RETRY_MAX = "yarn.service.container-failure.retry.max";
- public static final int DEFAULT_CONTAINER_RETRY_MAX = -1;
+ public static final int DEFAULT_CONTAINER_RETRY_MAX = 10;
public static final String CONTAINER_RETRY_INTERVAL = "yarn.service.container-failure.retry-interval-ms";
public static final int DEFAULT_CONTAINER_RETRY_INTERVAL = 30000;
public static final String CONTAINER_FAILURES_VALIDITY_INTERVAL =
"yarn.service.container-failure.validity-interval-ms";
- public static final long DEFAULT_CONTAINER_FAILURES_VALIDITY_INTERVAL = -1;
+ public static final long DEFAULT_CONTAINER_FAILURES_VALIDITY_INTERVAL =
+ 600000;
public static final String AM_RESTART_MAX = "yarn.service.am-restart.max-attempts";
public static final int DEFAULT_AM_RESTART_MAX = 20;
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org