YARN-4685. Disable AM blacklisting by default to mitigate situations that application get hanged. (Rohith Sharma K S via wangda)
This commit is contained in:
parent
444b2ea7af
commit
2da32a6ef9
@ -2699,7 +2699,7 @@ public static boolean areNodeLabelsEnabled(
|
|||||||
RM_PREFIX + "am-scheduling.node-blacklisting-enabled";
|
RM_PREFIX + "am-scheduling.node-blacklisting-enabled";
|
||||||
@Private
|
@Private
|
||||||
public static final boolean DEFAULT_AM_SCHEDULING_NODE_BLACKLISTING_ENABLED =
|
public static final boolean DEFAULT_AM_SCHEDULING_NODE_BLACKLISTING_ENABLED =
|
||||||
true;
|
false;
|
||||||
|
|
||||||
@Private
|
@Private
|
||||||
/**
|
/**
|
||||||
@ -2709,7 +2709,7 @@ public static boolean areNodeLabelsEnabled(
|
|||||||
RM_PREFIX + "am-scheduling.node-blacklisting-disable-threshold";
|
RM_PREFIX + "am-scheduling.node-blacklisting-disable-threshold";
|
||||||
@Private
|
@Private
|
||||||
public static final float
|
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 =
|
private static final String NM_SCRIPT_BASED_NODE_LABELS_PROVIDER_PREFIX =
|
||||||
NM_NODE_LABELS_PROVIDER_PREFIX + "script.";
|
NM_NODE_LABELS_PROVIDER_PREFIX + "script.";
|
||||||
|
Loading…
Reference in New Issue
Block a user