YARN-9529. Log correct cpu controller path on error while initializing CGroups. (Contributed by Jonathan Hung)
(cherry picked from commit597fa47ad1
) (cherry picked from commitc6573562cb
)
This commit is contained in:
parent
41ffaea342
commit
ea1f0f282b
|
@ -482,7 +482,7 @@ public class CgroupsLCEResourcesHandler implements LCEResourcesHandler {
|
|||
controllerPaths.put(CONTROLLER_CPU, controllerPath);
|
||||
} else {
|
||||
throw new IOException("Not able to enforce cpu weights; cannot write "
|
||||
+ "to cgroup at: " + controllerPath);
|
||||
+ "to cgroup at: " + f.getPath());
|
||||
}
|
||||
} else {
|
||||
throw new IOException("Not able to enforce cpu weights; cannot find "
|
||||
|
|
Loading…
Reference in New Issue