[ 
https://issues.apache.org/jira/browse/YARN-7890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353223#comment-16353223
 ] 

Billie Rinaldi commented on YARN-7890:
--------------------------------------

+1 for patch 002. This fixes the NPE. Thanks for the patch, [~jlowe], and 
thanks for the review, [~shaneku...@gmail.com]! I'll commit this one.

> NPE during container relaunch
> -----------------------------
>
>                 Key: YARN-7890
>                 URL: https://issues.apache.org/jira/browse/YARN-7890
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.9.0, 3.0.0-alpha1
>            Reporter: Billie Rinaldi
>            Assignee: Jason Lowe
>            Priority: Major
>         Attachments: YARN-7890.001.patch, YARN-7890.002.patch
>
>
> While running a recent build of trunk, I saw the following:
> {noformat}
> 2018-02-02 21:02:40,026 INFO 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.container.ContainerImpl:
>  Container container_e02_1517604848419_0002_01_000004 transitioned from 
> RELAUNCHING to RUNNING
> 2018-02-02 21:02:40,026 WARN 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerRelaunch:
>  Failed to relaunch container.
> java.lang.NullPointerException
>         at 
> java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1026)
>         at 
> java.util.Collections$UnmodifiableList.<init>(Collections.java:1302)
>         at java.util.Collections.unmodifiableList(Collections.java:1287)
>         at 
> org.apache.hadoop.yarn.server.nodemanager.executor.ContainerStartContext.getFilecacheDirs(ContainerStartContext.java:200)
>         at 
> org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.buildContainerRuntimeContext(LinuxContainerExecutor.java:651)
>         at 
> org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.launchContainer(LinuxContainerExecutor.java:546)
>         at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.launchContainer(ContainerLaunch.java:465)
>         at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerRelaunch.call(ContainerRelaunch.java:107)
>         at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerRelaunch.call(ContainerRelaunch.java:49)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to