Details
Description
NodeStatusUpdaterImpl.java
... ... if (response.getAreNodeLabelsAcceptedByRM() && LOG.isDebugEnabled()) { LOG.debug("Node Labels {" + StringUtils.join(",", previousNodeLabels) + "} were Accepted by RM "); } else { // case where updated labels from NodeLabelsProvider is sent to RM and // RM rejected the labels LOG.error( "NM node labels {" + StringUtils.join(",", previousNodeLabels) + "} were not accepted by RM and message from RM : " + response.getDiagnosticsMessage()); } ... ...
When LOG.isDebugEnabled() is false, NM will always print error log. It is an obvious error and is so misleading.
Attachments
Attachments
Issue Links
- is broken by
-
YARN-4176 Resync NM nodelabels with RM periodically for distributed nodelabels
- Resolved