This is an automated email from the ASF dual-hosted git repository.

haibochen pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 597fa47  YARN-9529. Log correct cpu controller path on error while 
initializing CGroups. (Contributed by Jonathan Hung)
597fa47 is described below

commit 597fa47ad125c0871f5c4deb3a883e5b3341c67b
Author: Haibo Chen <haiboc...@apache.org>
AuthorDate: Mon May 6 11:55:07 2019 -0700

    YARN-9529. Log correct cpu controller path on error while initializing 
CGroups. (Contributed by Jonathan Hung)
---
 .../hadoop/yarn/server/nodemanager/util/CgroupsLCEResourcesHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/util/CgroupsLCEResourcesHandler.java
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/util/CgroupsLCEResourcesHandler.java
index 6025260..8894767 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/util/CgroupsLCEResourcesHandler.java
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/util/CgroupsLCEResourcesHandler.java
@@ -476,7 +476,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 "


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to