hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haiboc...@apache.org
Subject [hadoop] branch branch-3.2 updated: YARN-9529. Log correct cpu controller path on error while initializing CGroups. (Contributed by Jonathan Hung)
Date Mon, 06 May 2019 18:58:45 GMT
This is an automated email from the ASF dual-hosted git repository.

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


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

commit c6573562cbc43832e9332989996e5d07b8bce9b0
Author: Haibo Chen <haibochen@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)
    
    (cherry picked from commit 597fa47ad125c0871f5c4deb3a883e5b3341c67b)
---
 .../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 54b6e1c..a73dcbe 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
@@ -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 "


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


Mime
View raw message