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

Change container runtime type logging in DelegatingLinuxContainerRuntime to debug

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • yarn
    • 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

        1. YARN-5460.001.patch
          1 kB
          Shane Kumpf

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: