YARN-8351. Node attribute manager logs are flooding RM logs. Contributed by Weiwei Yang.

This commit is contained in:
Sunil G 2018-05-25 16:08:26 +05:30
parent 8cf6a9a2bd
commit 76183428b7
1 changed files with 3 additions and 1 deletions

View File

@ -196,7 +196,9 @@ public class NodeAttributesManagerImpl extends NodeAttributesManager {
logMsg.append("] ,");
}
LOG.info(logMsg);
if (LOG.isDebugEnabled()) {
LOG.debug(logMsg);
}
if (null != dispatcher && NodeAttribute.PREFIX_CENTRALIZED
.equals(attributePrefix)) {