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

All the log messages about rolling monitoring interval are shown with WARN level

    Details

    • Hadoop Flags:
      Reviewed

      Description

      About yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds, there are three log messages corresponding to the value set to this parameter, but all of them are shown with the WARN level.

      (a) disabled (default)

      2016-01-05 22:19:29,062 WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggreg     ation.AppLogAggregatorImpl: rollingMonitorInterval is set as -1. The log rolling mornitoring interval is disabled. The logs will be aggregated after this application is finished.
      

      (b) enabled

      2016-01-06 00:41:15,808 WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AppLogAggregatorImpl: rollingMonitorInterval is set as 7200. The logs will be aggregated every 7200 seconds
      

      (c) enabled but wrong configuration

      2016-01-06 00:39:50,820 WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AppLogAggregatorImpl: rollingMonitorIntervall should be more than or equal to 3600 seconds. Using 3600 seconds instead.
      

      I think it is better to output with WARN only in case (c), but it is ok to output with INFO in case (a) and (b).

        Attachments

        1. YARN-4544.2.patch
          2 kB
          Takashi Ohnishi
        2. YARN-4544.patch
          2 kB
          Takashi Ohnishi

          Activity

            People

            • Assignee:
              bwtakacy Takashi Ohnishi
              Reporter:
              bwtakacy Takashi Ohnishi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: