YARN-9156. Improve debug message in device plugin method compatibility check of ResourcePluginManager. Contributed by Zhankun Tang.
This commit is contained in:
parent
28d0bf9f67
commit
632d5e8a98
@ -230,8 +230,7 @@ public void checkInterfaceCompatibility(Class<?> expectedClass,
|
|||||||
for (Method m : actualClass.getDeclaredMethods()) {
|
for (Method m : actualClass.getDeclaredMethods()) {
|
||||||
if (m.getName().equals(method.getName())) {
|
if (m.getName().equals(method.getName())) {
|
||||||
LOG.debug("Method {} found in class {}",
|
LOG.debug("Method {} found in class {}",
|
||||||
actualClass.getSimpleName(),
|
m.getName(), actualClass.getSimpleName());
|
||||||
m.getName());
|
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user