YARN-8988. Reduce the verbose log on RM heartbeat path when distributed node-attributes is enabled. Contributed by Tao Yang.
This commit is contained in:
parent
f8c72d7b3a
commit
e1bbf7dcdf
|
@ -221,8 +221,10 @@ public class NodeAttributesManagerImpl extends NodeAttributesManager {
|
|||
|
||||
// Notify RM
|
||||
if (rmContext != null && rmContext.getDispatcher() != null) {
|
||||
LOG.info("Updated NodeAttribute event to RM:" + newNodeToAttributesMap
|
||||
.values());
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Updated NodeAttribute event to RM:"
|
||||
+ newNodeToAttributesMap.values());
|
||||
}
|
||||
rmContext.getDispatcher().getEventHandler().handle(
|
||||
new NodeAttributesUpdateSchedulerEvent(newNodeToAttributesMap));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue