Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
When a container is reacquired, signalContainer is called via DelegatingLinuxContainerRuntime every second to validate that the container is still running, until the container completes or is killed, resulting in many of the following log entries:
2016-08-01 15:28:14,529 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DefaultLinuxContainerRuntime 2016-08-01 15:28:14,533 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DockerLinuxContainerRuntime 2016-08-01 15:28:15,537 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DefaultLinuxContainerRuntime 2016-08-01 15:28:15,540 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DockerLinuxContainerRuntime 2016-08-01 15:28:16,550 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DefaultLinuxContainerRuntime 2016-08-01 15:28:16,553 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DockerLinuxContainerRuntime 2016-08-01 15:28:17,561 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DefaultLinuxContainerRuntime 2016-08-01 15:28:17,561 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DockerLinuxContainerRuntime 2016-08-01 15:28:18,570 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DefaultLinuxContainerRuntime 2016-08-01 15:28:18,570 INFO org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DelegatingLinuxContainerRuntime: Using container runtime: DockerLinuxContainerRuntime
The following should be changed to debug:
if (LOG.isInfoEnabled()) { LOG.info("Using container runtime: " + runtime.getClass() .getSimpleName()); }