hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [hadoop] branch trunk updated: YARN-9156. Improve debug message in device plugin method compatibility check of ResourcePluginManager. Contributed by Zhankun Tang.
Date Fri, 22 Feb 2019 03:33:33 GMT
This is an automated email from the ASF dual-hosted git repository.

wwei 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 632d5e8  YARN-9156. Improve debug message in device plugin method compatibility check
of ResourcePluginManager. Contributed by Zhankun Tang.
632d5e8 is described below

commit 632d5e8a98bae629f20dd88d391f42dd5029a98d
Author: Weiwei Yang <wwei@apache.org>
AuthorDate: Fri Feb 22 11:27:17 2019 +0800

    YARN-9156. Improve debug message in device plugin method compatibility check of ResourcePluginManager.
Contributed by Zhankun Tang.
---
 .../containermanager/resourceplugin/ResourcePluginManager.java         | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/resourceplugin/ResourcePluginManager.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/resourceplugin/ResourcePluginManager.java
index 0bc241d..9574980 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/resourceplugin/ResourcePluginManager.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/resourceplugin/ResourcePluginManager.java
@@ -230,8 +230,7 @@ public class ResourcePluginManager {
       for (Method m : actualClass.getDeclaredMethods()) {
         if (m.getName().equals(method.getName())) {
           LOG.debug("Method {} found in class {}",
-              actualClass.getSimpleName(),
-              m.getName());
+              m.getName(), actualClass.getSimpleName());
           found = true;
           break;
         }


---------------------------------------------------------------------
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