Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10430

Log improvements in NodeStatusUpdaterImpl

    XMLWordPrintableJSON

    Details

      Description

      I think in below places log should be printed only if list size is not zero.

      if (LOG.isDebugEnabled()) {
                LOG.debug("The cache log aggregation status size:"
                    + logAggregationReports.size());
       }
      
      LOG.info("Sending out " + containerStatuses.size()
            + " NM container statuses: " + containerStatuses);
      
      if (LOG.isDebugEnabled()) {
            LOG.debug("Sending out " + containerStatuses.size()
                + " container statuses: " + containerStatuses);
      }
      

        Attachments

        1. YARN-10430.001.patch
          3 kB
          Bilwa S T

          Activity

            People

            • Assignee:
              BilwaST Bilwa S T
              Reporter:
              BilwaST Bilwa S T
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: