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

Change container runtime type logging in DelegatingLinuxContainerRuntime to debug

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: yarn
    • Labels:
      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());
          }
      

        Attachments

          Activity

            People

            • Assignee:
              shanekumpf@gmail.com Shane Kumpf
              Reporter:
              shanekumpf@gmail.com Shane Kumpf
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: