Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.23.1, 2.0.1-alpha
-
applicationmaster
Description
Too many INFO log messages written out during AM to RM heartbeat. Based on default frequency of 1000ms (scheduler.heartbeat.interval-ms) either 2 or 4 INFO messages are written out per second:
LOG.info("Before Scheduling: " + getStat());
List<Container> allocatedContainers = getResources();
LOG.info("After Scheduling: " + getStat());
if (allocatedContainers.size() > 0) {
LOG.info("Before Assign: " + getStat());
scheduledRequests.assign(allocatedContainers);
LOG.info("After Assign: " + getStat());
}
These should probably be changed to DEBUG message to save the log growing too quickly.