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

NPE in DeletionService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.1
    • None

    Description

      2018-04-25 23:38:41,039 WARN  concurrent.ExecutorHelper (ExecutorHelper.java:logThrowableFromAfterExecute(63)) - Caught exception in thread DeletionService #1:
      
      java.lang.NullPointerException
      
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerClient.writeCommandToTempFile(DockerClient.java:109)
      
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerCommandExecutor.executeDockerCommand(DockerCommandExecutor.java:85)
      
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerCommandExecutor.executeStatusCommand(DockerCommandExecutor.java:192)
      
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker.DockerCommandExecutor.getContainerStatus(DockerCommandExecutor.java:128)
      
              at org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.removeDockerContainer(LinuxContainerExecutor.java:935)
      
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.deletion.task.DockerContainerDeletionTask.run(DockerContainerDeletionTask.java:61)
      
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      
              at java.lang.Thread.run(Thread.java:748)

      Attachments

        1. YARN-8209.001.patch
          23 kB
          Eric Badger
        2. YARN-8209.002.patch
          24 kB
          Eric Badger
        3. YARN-8209.003.patch
          26 kB
          Eric Badger
        4. YARN-8209.004.patch
          26 kB
          Eric Badger
        5. YARN-8209.005.patch
          26 kB
          Eric Badger

        Issue Links

          Activity

            People

              ebadger Eric Badger
              csingh Chandni Singh
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: