YARN-799. Fix CgroupsLCEResourcesHandler to use /tasks instead of /cgroup.procs. Contributed by Chris Riccomini.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1494035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f4d80e91ae
commit
6451288704
|
@ -663,6 +663,9 @@ Release 2.1.0-beta - UNRELEASED
|
||||||
YARN-795. Fair scheduler queue metrics should subtract allocated vCores from
|
YARN-795. Fair scheduler queue metrics should subtract allocated vCores from
|
||||||
available vCores. (ywskycn via tucu)
|
available vCores. (ywskycn via tucu)
|
||||||
|
|
||||||
|
YARN-799. Fix CgroupsLCEResourcesHandler to use /tasks instead of
|
||||||
|
/cgroup.procs. (Chris Riccomini via acmurthy)
|
||||||
|
|
||||||
Release 2.0.5-alpha - 06/06/2013
|
Release 2.0.5-alpha - 06/06/2013
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -222,7 +222,7 @@ public class CgroupsLCEResourcesHandler implements LCEResourcesHandler {
|
||||||
StringBuilder sb = new StringBuilder("cgroups=");
|
StringBuilder sb = new StringBuilder("cgroups=");
|
||||||
|
|
||||||
if (isCpuWeightEnabled()) {
|
if (isCpuWeightEnabled()) {
|
||||||
sb.append(pathForCgroup(CONTROLLER_CPU, containerName) + "/cgroup.procs");
|
sb.append(pathForCgroup(CONTROLLER_CPU, containerName) + "/tasks");
|
||||||
sb.append(",");
|
sb.append(",");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue