You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yang Wang (JIRA)" <ji...@apache.org> on 2017/12/13 03:26:00 UTC
[jira] [Created] (YARN-7647) NM print inappropriate error log when
node-labels is enabled
Yang Wang created YARN-7647:
-------------------------------
Summary: NM print inappropriate error log when node-labels is enabled
Key: YARN-7647
URL: https://issues.apache.org/jira/browse/YARN-7647
Project: Hadoop YARN
Issue Type: Bug
Reporter: Yang Wang
{code:title=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());
}
... ...
{code}
When LOG.isDebugEnabled() is false, NM will always print error log. It is an obvious error and is so misleading.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org