YARN-4544. All the log messages about rolling monitoring interval are shown with WARN level. Contributed by Takashi Ohnishi.

(cherry picked from commit 52b77577c4)
This commit is contained in:
Akira Ajisaka 2016-01-08 01:12:46 +09:00
parent c6f7c30a8d
commit 3905435d3d
2 changed files with 6 additions and 3 deletions

View File

@ -623,6 +623,9 @@ Release 2.8.0 - UNRELEASED
YARN-4098. Document ApplicationPriority feature. (Rohith Sharma K S via jianhe) YARN-4098. Document ApplicationPriority feature. (Rohith Sharma K S via jianhe)
YARN-4544. All the log messages about rolling monitoring interval are
shown with WARN level. (Takashi Ohnishi via aajisaka)
OPTIMIZATIONS OPTIMIZATIONS
YARN-3339. TestDockerContainerExecutor should pull a single image and not YARN-3339. TestDockerContainerExecutor should pull a single image and not

View File

@ -189,12 +189,12 @@ public class AppLogAggregatorImpl implements AppLogAggregator {
} }
} else { } else {
if (configuredRollingMonitorInterval <= 0) { if (configuredRollingMonitorInterval <= 0) {
LOG.warn("rollingMonitorInterval is set as " LOG.info("rollingMonitorInterval is set as "
+ configuredRollingMonitorInterval + ". " + configuredRollingMonitorInterval + ". "
+ "The log rolling mornitoring interval is disabled. " + "The log rolling monitoring interval is disabled. "
+ "The logs will be aggregated after this application is finished."); + "The logs will be aggregated after this application is finished.");
} else { } else {
LOG.warn("rollingMonitorInterval is set as " LOG.info("rollingMonitorInterval is set as "
+ configuredRollingMonitorInterval + ". " + configuredRollingMonitorInterval + ". "
+ "The logs will be aggregated every " + "The logs will be aggregated every "
+ configuredRollingMonitorInterval + " seconds"); + configuredRollingMonitorInterval + " seconds");