From 2da32a6ef9edebd86ca9672d10ce35b5a46818cc Mon Sep 17 00:00:00 2001 From: Wangda Tan Date: Fri, 19 Aug 2016 16:31:16 -0700 Subject: [PATCH] YARN-4685. Disable AM blacklisting by default to mitigate situations that application get hanged. (Rohith Sharma K S via wangda) --- .../java/org/apache/hadoop/yarn/conf/YarnConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java index 770d139cef..46e3323c9b 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java @@ -2699,7 +2699,7 @@ public static boolean areNodeLabelsEnabled( RM_PREFIX + "am-scheduling.node-blacklisting-enabled"; @Private public static final boolean DEFAULT_AM_SCHEDULING_NODE_BLACKLISTING_ENABLED = - true; + false; @Private /** @@ -2709,7 +2709,7 @@ public static boolean areNodeLabelsEnabled( RM_PREFIX + "am-scheduling.node-blacklisting-disable-threshold"; @Private public static final float - DEFAULT_AM_SCHEDULING_NODE_BLACKLISTING_DISABLE_THRESHOLD = 0.8f; + DEFAULT_AM_SCHEDULING_NODE_BLACKLISTING_DISABLE_THRESHOLD = 0.2f; private static final String NM_SCRIPT_BASED_NODE_LABELS_PROVIDER_PREFIX = NM_NODE_LABELS_PROVIDER_PREFIX + "script.";