[ https://issues.apache.org/jira/browse/YARN-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931043#comment-13931043 ]
Karthik Kambatla commented on YARN-1821: ---------------------------------------- The test failure is unrelated. YARN-1591 tracks it. Thanks for the reviews, Jian and Sandy. Committing this. > NPE on registerNodeManager if the request has containers for UnmanagedAMs > ------------------------------------------------------------------------- > > Key: YARN-1821 > URL: https://issues.apache.org/jira/browse/YARN-1821 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Karthik Kambatla > Assignee: Karthik Kambatla > Priority: Blocker > Attachments: yarn-1821-1.patch > > > On RM restart (or failover), NM re-registers with the RM. If it was running > containers for Unmanaged AMs, it runs into the following NPE: > {noformat} > Caused by: > org.apache.hadoop.ipc.RemoteException(java.lang.NullPointerException): > java.lang.NullPointerException > at > org.apache.hadoop.yarn.server.resourcemanager.ResourceTrackerService.registerNodeManager(ResourceTrackerService.java:213) > at > org.apache.hadoop.yarn.server.api.impl.pb.service.ResourceTrackerPBServiceImpl.registerNodeManager(ResourceTrackerPBServiceImpl.java:54) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)