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 "Bilwa S T (Jira)" <ji...@apache.org> on 2020/09/09 08:22:00 UTC

[jira] [Created] (YARN-10430) Log improvements in NodeStatusUpdaterImpl

Bilwa S T created YARN-10430:
--------------------------------

             Summary: Log improvements in NodeStatusUpdaterImpl
                 Key: YARN-10430
                 URL: https://issues.apache.org/jira/browse/YARN-10430
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Bilwa S T


I think in below places log should be printed only if list size is not zero.
{code:java}
if (LOG.isDebugEnabled()) {
          LOG.debug("The cache log aggregation status size:"
              + logAggregationReports.size());
 }
{code}

{code:java}
LOG.info("Sending out " + containerStatuses.size()
      + " NM container statuses: " + containerStatuses);
{code}

{code:java}
if (LOG.isDebugEnabled()) {
      LOG.debug("Sending out " + containerStatuses.size()
          + " container statuses: " + containerStatuses);
}
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org