YARN-2204. Explicitly enable vmem check in TestContainersMonitor#testContainerKillOnMemoryOverflow. (Anubhav Dhoot via kasha)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1607233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f1f458729
commit
14858cd6f7
|
@ -189,6 +189,10 @@ Release 2.5.0 - UNRELEASED
|
||||||
YARN-614. Changed ResourceManager to not count disk failure, node loss and
|
YARN-614. Changed ResourceManager to not count disk failure, node loss and
|
||||||
RM restart towards app failures. (Xuan Gong via jianhe)
|
RM restart towards app failures. (Xuan Gong via jianhe)
|
||||||
|
|
||||||
|
YARN-2204. Explicitly enable vmem check in
|
||||||
|
TestContainersMonitor#testContainerKillOnMemoryOverflow.
|
||||||
|
(Anubhav Dhoot via kasha)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -87,6 +87,7 @@ public void setup() throws IOException {
|
||||||
conf.setClass(
|
conf.setClass(
|
||||||
YarnConfiguration.NM_CONTAINER_MON_RESOURCE_CALCULATOR,
|
YarnConfiguration.NM_CONTAINER_MON_RESOURCE_CALCULATOR,
|
||||||
LinuxResourceCalculatorPlugin.class, ResourceCalculatorPlugin.class);
|
LinuxResourceCalculatorPlugin.class, ResourceCalculatorPlugin.class);
|
||||||
|
conf.setBoolean(YarnConfiguration.NM_VMEM_CHECK_ENABLED, true);
|
||||||
super.setup();
|
super.setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue