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

View File

@ -196,7 +196,9 @@ private void internalUpdateAttributesOnNodes(
logMsg.append("] ,"); logMsg.append("] ,");
} }
LOG.info(logMsg); if (LOG.isDebugEnabled()) {
LOG.debug(logMsg);
}
if (null != dispatcher && NodeAttribute.PREFIX_CENTRALIZED if (null != dispatcher && NodeAttribute.PREFIX_CENTRALIZED
.equals(attributePrefix)) { .equals(attributePrefix)) {