YARN-9529. Log correct cpu controller path on error while initializing CGroups. (Contributed by Jonathan Hung)
(cherry picked from commit 597fa47ad125c0871f5c4deb3a883e5b3341c67b) (cherry picked from commit c6573562cbc43832e9332989996e5d07b8bce9b0) (cherry picked from commit ea1f0f282bee7ca64ce9fbe1a59bb5e231420d29) (cherry picked from commit aa7ff8552e0f1b9439926ae3476a3227dcf339f3)
This commit is contained in:
parent
5bf40f592e
commit
dc28c86270
@ -482,7 +482,7 @@ private void initializeControllerPaths() throws IOException {
|
||||
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…
x
Reference in New Issue
Block a user